Why is this not the same to perl? is this a legitmate bug?@arr = qw~0~; $foo = \@arr; @{$foo} ? print "TRUE\n" : print "FALSE\n"; # deref 1 $foo->[0] ? print "TRUE\n" : print "FALSE\n"; # defef 2
In reply to Testing for Truth by xonker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |