Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
               grep { exists($$hr{$_}) and defined($$hr{$_}) and $$hr{$_} 
    +}
               @wanted;
    }
    
  2. or download this
    roboticus@Boink:~
    $ perl return_grep_slice.pl
    $VAR1 = {
              'c' => 'foo'
            };