http://www.perlmonks.org?node_id=522551


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