Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Something eq hashref key

by hdb (Monsignor)
on Mar 25, 2019 at 14:17 UTC ( #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
Node Status?
node history
Node Type: note [id://1231660]
help
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2022-09-28 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (124 votes). Check out past polls.

    Notices?