Re: New errors of export image format
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 03 Apr 2008 18:23:42 GMT
"J. Gleixner" <glex_no-spam@xxxxxxxxxxxxxxxxxxxxx> wrote in
news:47f5123c$0$48216$815e3792@xxxxxxxxxxxxxx:
Ela wrote:
$filename = $ARGV[0];my $filename = $ARGV[0];
I prefer
my ($filename) = @ARGV;
Then, adding another command line parameter results in only having
to change the LHS of the statement:
my ($filename, $device) = @ARGV;
Of course, one can only get so much out of positional parameters but
works for quick and dirty scripts.
Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(remove .invalid and reverse each component for email address)
comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/
.
- References:
- frustrated in installing modules
- From: Ela
- Re: frustrated in installing modules
- From: smallpond
- New errors of export image format
- From: Ela
- Re: New errors of export image format
- From: J. Gleixner
- frustrated in installing modules
- Prev by Date: Re: Create two-dimensional Array from string
- Next by Date: Re: frustrated in installing modules
- Previous by thread: Re: New errors of export image format
- Next by thread: Re: New errors of export image format
- Index(es):
Relevant Pages
|