Help for this page

Select Code to Download


  1. or download this
    use strict;    # or DIE : )
    use warnings;  # or SUFFER : )
    ...
    # then you can use the reference like you would the hash by DEreferenc
    +ing it
    
    print "$ref->{one}"; # prints 'this'
    
  2. or download this
    #!/usr/bin/perl -w # -w does same as use warnings above, but for older
    + perls
    use strict;
    ...
    
    print "Kungfoo is ->", $kung[0]{foo}, "<-\n";