Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Re: Hash slices ?

by snax (Friar)
on Dec 01, 2000 at 18:03 UTC ( #44344=note: print w/ replies, xml ) Need Help??


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

perl -w -e '%x=(a=>7,b=>8,c=>9);@s=(qq(a),qq(b));$y=@x{@s};print $y;'
returns 8 -- so it is pretty clearly the case that a hash slice is properly a list.


Comment on Re: Re: Re: Re: Hash slices ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2014-04-17 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (451 votes), past polls