Help for this page

Select Code to Download


  1. or download this
        my $fh = open_file("<", $file, $verbose);
        my $class;
    ...
    
        close $fh;
        return $class;
    
  2. or download this
    $class = {  big => "hashref" };
    
  3. or download this
    $class = {
        alpha      => 'beta',
        gamma   => 'delta',
        epsilon   => 'zeta',
    };
    
  4. or download this
    use strict;
    use Data::Dumper;
    ...
    die $@ if $@;
    close $fh or die "Unable to close: $!";
    print Dumper $class;
    
  5. or download this
    $VAR1 = {
              'gamma' => 'delta',
              'epsilon' => 'zeta',
              'alpha' => 'beta'
            };
    
  6. or download this
    use strict;
    use Data::Dumper;
    ...
    my $file = q{alpha.txt};
    require $file;
    print Dumper $class;