"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]
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
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
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