in reply to Concordance Generator
Instead, you should declare the variables with use vars: use vars qw($opt_h $opt_s); (In perl5.6, you could declare them with our instead.)
Alternatively, you could switch to Getopt::Long, which allows you to specify whatever variables you want to get the values of the options. It has other useful features as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Concordance Generator
by sifukurt (Hermit) on Aug 15, 2001 at 01:40 UTC |