in reply to Re: bit-wise operation (+)
in thread bit-wise operation
Thank you very much for your great help.
I have fixed the variable declaration part and worked fine.
Now, I understand why it worked when I put
printf $arg00+$arg01."\n";
between this code.
Thanks again for your help, I have been suffering for days about this.
thanks,
toro
[root@local]#cat test.pl #!/usr/bin/perl use strict; use warning; my $arg00=0+shift ( @ARGV ); my $arg01=0+shift ( @ARGV ); #printf $arg00+$arg01."\n"; printf( "%d", $arg00 & $arg01 ); [root@local]#./test.pl 33 224 <BR>32[root@local]#
|
|---|