Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Compare all array values without a loop

by fergal (Chaplain)
on Oct 19, 2004 at 14:28 UTC ( #400542=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %hash = ('a' => undef, 'b' => undef, 'c' => undef, 'd' => undef);
    
    ...
    {
      # yadda yadda
    }
    
  2. or download this
    my %hash;
    @hash{'a', 'b', 'c', 'd'} = ();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400542]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2018-07-18 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (389 votes). Check out past polls.

    Notices?