Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "b : $$b\n";
    
    print "b2 : ${$b}\n";
    
  2. or download this
    perl -MO=Deparse,-p test_ref.pl
    
    ...
    print("b : $$b\n");
    print("b2 : ${$b;}\n");
    test_ref.pl syntax OK
    
  3. or download this
    perl -Dt  test_ref.pl
    
    ...
    (test_ref.pl:9) print
    b2 : foo
    (test_ref.pl:9) leave
    
  4. 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