Program is called with:use Getopt::Long; our $realeases; GetOptions( 't=s' => \ our $target, 'b=s' => \ our $buildtype, 'r=s' => \ $releases ); our @releases = split(/\:/,$releases);
perl script.pl -r 1:2:3 -b blah -t blah
In reply to Re: Re: Passing Options
by trs80
in thread Passing Options
by DS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |