Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: trim() magic

by Roy Johnson (Monsignor)
on Jan 11, 2006 at 19:43 UTC ( #522551=note: print w/replies, xml ) Need Help??

in reply to trim() magic

What does the assignment @_ = @_ accomplish?

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^2: trim() magic
by japhy (Canon) on Jan 11, 2006 at 20:00 UTC
    It breaks the aliasing nature of the elements in @_.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://522551]
[LanX]: Oh I see, userDict should have been declared in n outer scope ...
[LanX]: an
[LanX]: strange python accepts this?
[LanX]: no previous userDict?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2018-03-20 18:21 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (257 votes). Check out past polls.