Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: stuck in a hash

by neniro (Priest)
on Aug 04, 2005 at 23:10 UTC ( [id://481039]=note: print w/replies, xml ) Need Help??


in reply to stuck in a hash

Using Perl6::Junction works fine too:
#!/usr/bin/perl use strict; use warnings; use Perl6::Junction qw/none/; use Data::Dumper; my %colors = ( red => '#ff0000', blue => '#0000ff', green => '#00ff00', yellow => '#ffff00', ); my @sel_col = qw/ red green /; print Dumper [grep {none(@sel_col) eq $_} keys %colors];

Log In?
Username:
Password:

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

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

    No recent polls found