There's more than one way to do things | |
PerlMonks |
Re: Help required on Getopt::Longby zeni (Beadle) |
on May 16, 2012 at 09:54 UTC ( [id://970794]=note: print w/replies, xml ) | Need Help?? |
This is because -help is treated as string for the option "abc". even though '=' is not used the next string is tied for "abc" option. Also, when i executed this code, i got the following error: Undefined subroutine &main::Getoptions called. Always include use strict and use warnings in your code. And the subroutine should be GetOptions
In Section
Seekers of Perl Wisdom
|
|