...Or use a source filter ;)
in reply to Re: Forks.pm dilemma
in thread Forks.pm dilemma
Can you do source filters in 5.6.x? That would be a solution, simply only apply a source filter for source < 5.8.0 that replaces:
share( $x );
under the hood as it were. But I seem to remember source filters were introduced somewhere in the 5.7.x track?
share( \$x );
And no, I don't want to invent my own API. Perl needs a good threads implementation. I'm just trying to make it easier to learn and prototype with it.