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

Re: Re: Re: Perl parser tortured (was: Perl Idioms Explained)

by demerphq (Chancellor)
on Mar 04, 2004 at 10:55 UTC ( #333831=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Perl parser tortured (was: Perl Idioms Explained)
in thread Perl Idioms Explained - my ($foo, $bar) = @{shift(@_)}{qw/ -foo -bar /}

It's really quite amazing how much just adding one set of brackets to a language helps.

Yeah, but its just really annoying how long it takes the keyboard manufacturers to actually put the new brackets somewhere useful.

IMO this is something you need to consider, and especially fromt he POV that keyboards vary quite a bit around the world. AltGr-7, AltGr-8, AltGr-9, Algr-10 are where the { [ ] } brackets live in germany which is already frustrating enough for someone that grew up in Canada. I dread having to type these new brackets. But no doubt you are already hip to this problem :-)


    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi

Comment on Re: Re: Re: Perl parser tortured (was: Perl Idioms Explained)
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2015-10-09 03:59 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (233 votes), past polls