in reply to help with "use strict" and code organization
For instance, if you've done
Then you'll get the warning that $bar is undefined, because it only exists inside the "if" block.if($foo){ my $bar = 'baz'; } print $bar;
In other words, just adding my anywhere you declare a variable isn't going to solve your strict problems. You have to know what it means for those variables.
Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
|
|---|