Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: bit-wise

by Zaxo (Archbishop)
on Jul 28, 2006 at 21:52 UTC ( [id://564466]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %state;
    @state{1..9}=();
    
  2. or download this
    $state{$name} = undef;
    
  3. or download this
    @state{@names} = (1) x @names;
    
  4. or download this
    my $count = grep {$_} values %state;
    
  5. or download this
    my $setname = (grep {$state{$_}} keys %state)[0];
    
  6. or download this
    my @setnames = grep {$state{$_}} keys %state;
    
  7. or download this
    # same as ordinary perl
    print $foo if $state{$one} && $state{$tother};
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-25 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found