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

Re^2: Two simple code style advice questions

by parv (Priest)
on Jan 16, 2013 at 16:02 UTC ( #1013598=note: print w/ replies, xml ) Need Help??


in reply to Re: Two simple code style advice questions
in thread Two simple code style advice questions

In that case I am highly partial to...

my %p; @p{ @q } = ();


Comment on Re^2: Two simple code style advice questions
Download Code
Re^3: Two simple code style advice questions
by choroba (Abbot) on Jan 16, 2013 at 16:08 UTC
    Or even
    my %p; undef @p{ @q } if @q;
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-10-31 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (219 votes), past polls