|No such thing as a small change|
shift doesnt shiftby joec_ (Scribe)
|on Nov 27, 2008 at 13:31 UTC||Need Help??|
joec_ has asked for the
wisdom of the Perl Monks concerning the following question:
Hi, am i missing something? I have this code:
$molfile=shift || die ('script takes one arg from CL');
And when i call it like
I always get the die error message displayed. I have to explicitly say
$molfile = $ARGV || die.....;
to get it to work.
This is a bit strange as i have the same code in a different file that works...