Help for this page

Select Code to Download


  1. or download this
    my $ref = { foo => "bar" };
    
    ...
    print $ref{"foo"};     #3  prints ""
          # and under strictures throws a: 
          # "Global symbol "%ref" requires explicit package name"