Help for this page

Select Code to Download


  1. or download this
    my @array = qw( foo bar baz );
    for (@array) {
        eval "$_ = 'value'"; # Error here!!!
    }
    
  2. or download this
    #name your hash
    my %hash; 
    ...
    
    #and to print it
    print $hash{$varName}, "\n";