in reply to Re^2: Use command line argument in script
in thread Use command line argument in script

Please read the preceding response -- re $ARGV[n] -- and if that's not the issue, show us more of what you're doing because your problem statement is ambiguous.

Replies are listed 'Best First'.
Re^4: Use command line argument in script
by homer4all (Acolyte) on Dec 19, 2014 at 16:49 UTC
    Sorry for not mentioning this earlier, but I have updated original code and what syntax I'm trying.