Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Is undef list assignment a no-op?

by Anonymous Monk
on Mar 25, 2011 at 11:56 UTC ( #895456=note: print w/replies, xml ) Need Help??

in reply to Re: Is undef list assignment a no-op?
in thread Is undef list assignment a no-op?

If there is a good reason, (and I cannot think of one), then given the not insignificant difference in performance:

I don't know about good, but I think I've seen this scenario with callbacks, POE/LWP/Tk.... sometimes the first arg is large object, or large string, and you wish to avoid $_[0] or $_[CONSTANT] etc etc

Replies are listed 'Best First'.
Re^3: Is undef list assignment a no-op?
by BrowserUk (Patriarch) on Mar 25, 2011 at 15:58 UTC

    Good call++

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2023-09-28 01:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found