I think you may be a little confused.
$ARGV[0]=$d;
This overwrites the first command line argument with the value of $d - which is undefined.
shift=$d;
This doesn't even compile.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Re: Re: Getting args
by davorg
in thread Getting args
by willa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |