Help for this page

Select Code to Download


  1. or download this
    syntax error at noname.pl line 2, near "%hash{"
    Execution of noname.pl aborted due to compilation errors.
    
  2. or download this
    my %hash = (hello => "Hello World\n", my_function => \&my_func);
    my $func_ref = %hash{"my_function"};
    ...
        
        print $hashref->{hello}
    }