Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Return values from package methods

by MarkM (Curate)
on Aug 19, 2003 at 04:34 UTC ( #284793=note: print w/ replies, xml ) Need Help??

in reply to Return values from package methods

Sounds like a bug that was fixed.

Magic is needed to implement the 'subroutines exitted using a means other than die() or return(), result with the last statement executed, in the context that the subroutine was called within.' Perhaps in 5.6, this magic was a little more lazy, and never explicitly set the return result to be an empty list in the case that a subroutine has no statement in it?

Perhaps it is unreasonable to expect a reliable result for a subroutine that does not implicitly or explicitly return a result? :-)


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-07-27 08:42 GMT
Find Nodes?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?

    Results (242 votes). Check out past polls.