Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^6: Global symbol requires explicit package name

by ColonelPanic (Friar)
on Nov 29, 2012 at 06:28 UTC ( #1006166=note: print w/replies, xml ) Need Help??

in reply to Re^5: Global symbol requires explicit package name
in thread Global symbol requires explicit package name

The first example doesn't provide equivalent functionality, however. When an array slice is passed normally, modifying @_ will modify the original array. But this makes an anonymous copy of the array slice, which is discarded after the function call.

When's the last time you used duct tape on a duct? --Larry Wall

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006166]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2018-03-21 00:56 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (263 votes). Check out past polls.