in reply to Re^2: returning ref to static var vs. copying
in thread returning ref to static var vs. copying

The warning message Perl itself emits when it encounters this construct describes it as "deprecated". Surely it's reasonable to follow that example?

  • Comment on Re^3: returning ref to static var vs. copying

Replies are listed 'Best First'.
Re^4: returning ref to static var vs. copying
by ikegami (Patriarch) on Jun 11, 2009 at 06:37 UTC

    Of deprecation, Wikipedia says

    In computer software standards and documentation, the term deprecation is applied to software features that are superseded and should be avoided.

    ok, so I guess it is deprecated. (It was born that way.)