hi
  i was trying to do negation (~) on a string and i was getting strange result.

#!/usr/bin/perl
use warnings;
$a = "venkat";
$b = ~ $a;
print $a, "\n";
print $b, "\n";

when i run this i am getting blank for $b, and getting
1;2c on the command prompt. when i changed $a from venkat to abcdef nothing was there 
at command prompt. i am pretty new to perl, hope someone helps me out. thanks.
venkat.







--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to