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

But that's deprecated.

It was never deprecated since it was never valid.

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

Replies are listed 'Best First'.
Re^3: returning ref to static var vs. copying
by Porculus (Hermit) on Jun 10, 2009 at 22:13 UTC

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

      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.)