in reply to help with "use strict" and code organization

One possible reason for this problem is that you've defined them using my, but you've defined them in the wrong place.

For instance, if you've done

if($foo){ my $bar = 'baz'; } print $bar;
Then you'll get the warning that $bar is undefined, because it only exists inside the "if" block.

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 ...