Re: use Getopt::Std; and use strict;

2002-05-10 Thread John W. Krahn
Hans Holtan wrote: > > Hi everyone, > I have a problem using Getopt::Std. I depend on use strict for all my > code, and when I use Getopt::Std all the variables it creates (to > hold the command line option values) are flagged by strict because > they have not been scoped. I get errors like this:

Re: use Getopt::Std; and use strict;

2002-05-10 Thread Tanton Gibbs
Yes you can say our $opt_m; or use vars qw($opt_m); at the top of your program (depending on perl version). - Original Message - From: "Hans Holtan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 9:30 PM Subject: use Getopt::Std; and use strict; > Hi everyon