Re: using getopt specifying ARGV values per flag

2001-07-06 Thread Michael Fowler
On Wed, Jul 04, 2001 at 09:54:17AM -0500, [EMAIL PROTECTED] wrote: [snip] > script -nf domain.com client > > but when i try mixing the two up, or trying something like: > > script -f client -n domain.com > > i still get the incorrect output. i am sure this is because i am setting > the values b

Re: using getopt specifying ARGV values per flag

2001-07-04 Thread charles
yes, sorry, i am using use Getopt::Std; in my code as well. sorry that i forgot to include that in the code, however it is there in the script. On Wed, 4 Jul 2001, Pierre Smolarek wrote: > use Getopt::Std; > > ? > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Perl Discuss" <

Re: using getopt specifying ARGV values per flag

2001-07-04 Thread Pierre Smolarek
use Getopt::Std; ? - Original Message - From: <[EMAIL PROTECTED]> To: "Perl Discuss" <[EMAIL PROTECTED]> Sent: Wednesday, July 04, 2001 3:54 PM Subject: using getopt specifying ARGV values per flag > my script is as follows: > > #!/usr/bin/perl -w > > use strict; > my $domain; > my $pa