|Think about Loose Coupling|
GetOptions Function NOT Assign CLI Args to Variables?by mmartin (Monk)
|on Oct 12, 2012 at 18:03 UTC||Need Help??|
mmartin has asked for the
wisdom of the Perl Monks concerning the following question:
I'm not sure what's going on here with this. I've used this method for command line args over and over again
and suddenly now it doesn't seem to be working correctly...?
I'm simply passing in 2 IP Addresses to the script but they are not being assigned to the Variables and
I can't seem to figure out why...
./test_perl.pl ipAddr=192.168.1.1 server=192.168.5.1
Does anyone see what I'm doing wrong here...?
Any thoughts would be great!
Thanks in Advance,