in reply to Re: Getopt Behavior
in thread Getopt Behavior
Example of using variable references: $ret = GetOptions ('foo=s', \$foo, 'bar=i', 'ar=s', \@ar); With command line options ``-foo blech -bar 24 -ar xx -ar yy'' this wi +ll result in: $foo = 'blech' $opt_bar = 24 @ar = ('xx','yy')
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (Guildenstern) Re: Re: Getopt Behavior
by MeowChow (Vicar) on Dec 06, 2000 at 01:25 UTC |