DrScriptt on Nostr: My brain hurts after reading and trying to understand some old Perl code. It’s ...
My brain hurts after reading and trying to understand some old Perl code.
It’s inconsistently doing things.
I’m finding the conditional ternary ( condition ? true : false ) on one, two, and three lines. Two lines format can be condition and true on one line with false on its own line or the condition on its own line with both true and false on the same line.
The line that made me look things up and walk away was
$STOP_LOOP = ($SIZE == $CURRENT_SIZE);
It’s inconsistently doing things.
I’m finding the conditional ternary ( condition ? true : false ) on one, two, and three lines. Two lines format can be condition and true on one line with false on its own line or the condition on its own line with both true and false on the same line.
The line that made me look things up and walk away was
$STOP_LOOP = ($SIZE == $CURRENT_SIZE);