R
Roland Reichenberg
Hi NG,
here is my littel perl scirpt:
===========================
#!/usr/bin/perl
$var1 = $ARGV[0];
$var2 = 0xaffe;
$res = $var1 & $var2;
print $res;
===========================
if I start this script from command line like this:
user@host > ./my.perl.test.pl 0xcafe
I get an error message that says: "Argument "0xcafe" isn't numeric in
bitwise and (&) in line...
What's going wrong? We have perl V5.8.0 installed on a linux box.
Thank you for your answers!
Regards,
Roland
here is my littel perl scirpt:
===========================
#!/usr/bin/perl
$var1 = $ARGV[0];
$var2 = 0xaffe;
$res = $var1 & $var2;
print $res;
===========================
if I start this script from command line like this:
user@host > ./my.perl.test.pl 0xcafe
I get an error message that says: "Argument "0xcafe" isn't numeric in
bitwise and (&) in line...
What's going wrong? We have perl V5.8.0 installed on a linux box.
Thank you for your answers!
Regards,
Roland