- or download this
#!/usr/bin/perl
...
print "b : $$b\n";
print "b2 : ${$b}\n";
- or download this
perl -MO=Deparse,-p test_ref.pl
...
print("b : $$b\n");
print("b2 : ${$b;}\n");
test_ref.pl syntax OK
- or download this
perl -Dt test_ref.pl
...
(test_ref.pl:9) print
b2 : foo
(test_ref.pl:9) leave
- or download this
(test_ref.pl:4) nextstate (test_ref.pl:7) nextstate
(test_ref.pl:7) pushmark (test_ref.pl:9) pushmark
...
(test_ref.pl:7) concat (test_ref.pl:9) concat
(test_ref.pl:7) print (test_ref.pl:9) print
b : foo b2 : foo