Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Re: Hash slices ?

by ChOas (Curate)
on Dec 01, 2000 at 18:09 UTC ( [id://44349]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Hash slices ?
in thread Hash slices ?

I was thinking about doing it like this to avoid the grep:
sub Match{foreach (@keys) {return 1 if exists $hash{$_};}return 0} if ( Match ) { print "yep\n"; } else { print "nope\n"; };
But I was thinking about that already before I thought of
the slice ;))

Log In?
Username:
Password:

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

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

    No recent polls found