at the top of your program. This way, you'll tell your program that you're going to use those global variable names, and strict won't complain. I suggest to read Lexical scoping like a fox and Coping with Scoping. I think there will be a column by merlyn on this subject soon.use vars qw/$opt_J ... and so on .../;
In reply to Re: use strict with Getopt::Std
by larsen
in thread use strict with Getopt::Std
by cutter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |