Re: [PATCH mp2] sections setting $0

2003-11-14 Thread Stas Bekman
Philippe M. Chiasson wrote: On Fri, 2003-11-14 at 10:12, Stas Bekman wrote: Philippe M. Chiasson wrote: in mp 1.x land, sections used to set $0 to the name of the configuration file it was in. Following patches does just that for 2.x there is one problem with it. You need to restore it to its or

Re: [PATCH mp2] sections setting $0

2003-11-14 Thread Philippe M. Chiasson
On Fri, 2003-11-14 at 10:12, Stas Bekman wrote: > Philippe M. Chiasson wrote: > > in mp 1.x land, sections used to set $0 to the name of the > > configuration file it was in. > > > > Following patches does just that for 2.x > > there is one problem with it. You need to restore it to its original

Re: [PATCH mp2] sections setting $0

2003-11-14 Thread Stas Bekman
Philippe M. Chiasson wrote: in mp 1.x land, sections used to set $0 to the name of the configuration file it was in. Following patches does just that for 2.x there is one problem with it. You need to restore it to its original value after Perl sections are over, no? How did it work in mp1? Index

[PATCH mp2] sections setting $0

2003-11-14 Thread Philippe M. Chiasson
in mp 1.x land, sections used to set $0 to the name of the configuration file it was in. Following patches does just that for 2.x Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.250 diff -u -I$Id: