You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by "Philippe M. Chiasson" <go...@ectoplasm.org> on 2006/01/16 20:07:47 UTC
$0 and perl change 26779
Perl change 26779[1] has made it into blead. Basically, it's now possible
to have perl_parse() _not_ do anything with $0 by setting PL_origalen = 1;
This used to cause us some trouble, so we might want to do something about it.
Of course, we will still be stuck with older Perl's behaviour, but it might
be worth the trouble to make use of this 'feature' for newer Perls.
1: http://public.activestate.com/cgi-bin/perlbrowse?patch=26779
--
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
Re: $0 and perl change 26779
Posted by Stas Bekman <st...@stason.org>.
Philippe M. Chiasson wrote:
> Perl change 26779[1] has made it into blead. Basically, it's now possible
> to have perl_parse() _not_ do anything with $0 by setting PL_origalen = 1;
>
> This used to cause us some trouble, so we might want to do something about it.
> Of course, we will still be stuck with older Perl's behaviour, but it might
> be worth the trouble to make use of this 'feature' for newer Perls.
>
> 1: http://public.activestate.com/cgi-bin/perlbrowse?patch=26779
What do you mean, change it? AFAIK, assigning to $0 is ignored at the
moment under mp2.
--
_____________________________________________________________
Stas Bekman mailto:stas@stason.org http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org