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

Re^2: When is => ne , (warning rather arcane and possibly totally useless)

by bunnyman (Hermit)
on Jul 22, 2004 at 15:13 UTC ( #376611=note: print w/replies, xml ) Need Help??


in reply to Re: When is => ne , (warning rather arcane and possibly totally useless)
in thread When is => ne , (warning rather arcane and possibly totally useless)

There is no "hash" involved here. It's merely a list.

perl -MO=Deparse -e "'moo', 'oom', 'zoop'" '???', '???', '???'; -e syntax OK
  • Comment on Re^2: When is => ne , (warning rather arcane and possibly totally useless)
  • Download Code

Replies are listed 'Best First'.
Re^3: When is => ne , (warning rather arcane and possibly totally useless)
by BrowserUk (Patriarch) on Jul 22, 2004 at 15:37 UTC

    I've been reading to much Perl 6 stuff where Pairs are distinct entities. Your right. It's just a 2 element list in a void context which is being optimised away. Hence the '???'.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-05-29 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?