On Wed, 27 Mar 2002, Agustin Rivera wrote: > How would that work with use strict;? I tried it once and when I declared my > $opt_n before using getopts, it wouldn't work. Agustin: From the Getopt::Std man page: Note that, if your code is running under the recommended `use strict 'vars'' pragma, you will need to declare these package variables with "our": our($opt_foo, $opt_bar); -- Eric P. Los Gatos, CAThread Previous | Thread Next