Help for this page

Select Code to Download


  1. or download this
    sub func { return ('a' => 'ah', 'b' => 'be') };
    
  2. or download this
    keys func();
    keys ( func() );
    keys ( &func() );
    
  3. or download this
    Type of arg 1 to keys must be hash (not subroutine entry)
    
  4. or download this
    my %hash = func();
    keys %hash;