Re: Problem with Getopt::Std

2003-01-31 Thread R. Joseph Newton
"R. Joseph Newton" wrote: > print "$stringGoodbye\n"; Whoops--sorry, that should be: print $string . "Goodbye\n"; Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with Getopt::Std

2003-01-31 Thread R. Joseph Newton
Pedro Antonio Reche wrote: > chop($program); Don't use chop. Use chomp. I suppose there are some contexts in which the use of chop would be appropriate, but there is also a good chance that is is cutting off critical data, since it arbitrarily shortens the string by one character, regardl

Re: Problem with Getopt::Std

2003-01-30 Thread John W. Krahn
Pedro Antonio Reche wrote: > > Hi all, I using the code below that uses the Getopt::Std to process the > arguments from the command line (init subroutine). However, for some > reason I do not get the arguments from the switches. If anyone sees > what is the mistake I will be happy to hear about

RE: Problem with Getopt::Std

2003-01-30 Thread Bob Showalter
Pedro Antonio Reche wrote: > Hi all, I using the code below that uses the Getopt::Std to process > the arguments from the command line (init subroutine). However, for > some reason I do not get the arguments from the switches. > ... > getopts('pab'); If the options take arguments, you need