Hi,
I'm having a really dumb problem with running scripts from the command line when I have to pass in parameters/options into a script from the command line.
My script works perfectly when I type:
c:>perl script.pl <option>
but when I just run it without the 'perl' command, it always gets a zero-value passed in.
As long as there is no need to pass in parameters, no problem, but the
$option = hex(shift);
does not work on my system.
I'm using WinXP, and believe to have set the correct environment variables . . . anything else to tweak?
thanks,
TGe