Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Something eq hashref key

by hdb (Monsignor)
on Mar 25, 2019 at 14:17 UTC ( [id://1231660]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub slex { my $h = shift; return map { exists $h->{$_} || 0 } @_ }
    
    my %h = map { $_ => 1 } 'a'..'t';
    my @bool = slex \%h, 'a'..'z';
    print "@bool\n";
    

Log In?
Username:
Password:

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

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

    No recent polls found