WARNING! OP has changed the content of the post ( s/$ARGV[1]/$ARGV[0]/)since replies were provided. OP advised against that practice by way of message, consideration and this node.
Original content (sic): I tried using $days = $ARGV1, not sure but it doesn't work.
In reply to Re: Use command line argument in script
by ww
in thread Use command line argument in script
by homer4all
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |