Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
    my %hash = ( 'a' => 2 );
    use constant A => \%hash;
    print A->{a};
    
  2. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
    
    use constant A => $hash;
    print A->{a};