Help for this page

Select Code to Download


  1. or download this
    my %code_ref_hash = (
    'method1' => \&Package1::Method1,
    'method2' => \&Package2::Method2,
    );
    
  2. or download this
    $code_ref_hash{'method1'}(); # OR $code_ref_hash{'method1'}->();
    
  3. or download this
    no strict refs;