Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Testing array of hash values

by dws (Chancellor)
on Dec 11, 2001 at 07:26 UTC ( #130851=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      @p{'eyes', 'hair', 'etc'} =();
  2. or download this
      my %p;
      $p{$_} = undef for qw(eyes hair etc);
    
  3. or download this
      @p{ 'eyes', 'hair', 'etc' }
  4. or download this
      sub do_head {
           my($heading, @data) = @_;
    
          return "<h4>$heading</h4>" if grep { defined($_) } @data;
          return "";
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://130851]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-01-26 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?