in reply to Getopt::Long question
did you confirm that the "$delay" variable actually got the value "30"?scriptname --dir foo --year 2007 --delay 30
I'm guessing it might not have, because there might be something else happening to @ARGV before you make the call to GetOptions() -- like maybe something pops off the last arg?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getopt::Long question
by Cody Pendant (Prior) on Mar 03, 2009 at 05:22 UTC |