|
Can someone tell me why this code won't work in Perl 5.6
$param = $ARGV[0];
@array = splint(/:/, $param);
$Machine = @array[0];
$process = @array[1];
print "The machine is $Machine and the process is $process \n";
exit;
I get returned.
The machine is and the process is .
In 5.5 I get returned
The machine is \\celmfg-fpsdev
and the process is ODBCOPC.exe.
I run the program the same way in both cases.
argtest.pl \\celmfg-fpsdev:ODBCOPC.exe
What is up...has this command been replaced ?.
Please reply to [EMAIL PROTECTED]
James W Frazier
CIO Pervasive Technologies |
- Re: $ARGV[0] won't work in Perl 5.6 The Realist's Mail
- Re: $ARGV[0] won't work in Perl 5.6 Dirk Bremer
- RE: $ARGV[0] won't work in Perl 5.6 DePriest, Jason R.
