Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Replies are listed 'Best First'.
Re^3: Two simple code style advice questions
by choroba (Canon) 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 pondering the Monastery: (14)
As of 2015-07-31 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls