Hi All,
Could you please explain the difference b/w the below codes?
when qq is used with eval and without () the o/p is different.
o/p is as follows
CONV IS SCALAR(0x183f1c 4)
o/p is as follows
CONV IS ╤
Could you please explain the difference b/w the below codes?
when qq is used with eval and without () the o/p is different.
Code:
$hex1='\xd1'; $conv = eval qq "$hex1"; print "CONV IS $conv \n";
CONV IS SCALAR(0x183f1c 4)
Code:
$hex1='\xd1';
$conv = eval qq ("$hex1");
print "CONV IS $conv \n";
CONV IS ╤
Comment