Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Legacy use of splice() as lvalue

by moritz (Cardinal)
on Feb 15, 2008 at 09:57 UTC ( [id://668121]=note: print w/replies, xml ) Need Help??


in reply to Legacy use of splice() as lvalue

My guess is that somebody assumed the same semantics for splice as substr implements, which can be used as an lvalue.

So the old behaviour is roughly equivalent to die "That sub should never be called, and is not tested";, while the new one modifies @_.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found