in reply to Re^2: getOptions() parse problem
in thread getOptions() parse problem
Hi again,
I see you declare your 'option' as an optional string (:s):
$getoptret = $p->getoptions( 'number:s' =>\$num, .......) ;
try to change it in a mandatory integer:
$getoptret = $p->getoptions( 'number=i' =>\$num, .......) ;
According to the camel book:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: getOptions() parse problem
by jeanluca (Deacon) on Sep 13, 2005 at 10:04 UTC | |
by gargle (Chaplain) on Sep 13, 2005 at 10:15 UTC |