Re: modperl_style.pod

2001-04-26 Thread Chris Nokleberg
One reason is because when using Registry, your script isn't in main:: anymore. This bit me once in porting CGIs to mod_perl. Chris On Wed, Apr 25, 2001 at 04:30:02PM +0800, Stas Bekman wrote: > > also can you please explain why: > > =head2 Symbol tables > > ... > stay away from main:: --

Re: modperl_style.pod

2001-04-25 Thread Doug MacEachern
On Wed, 25 Apr 2001, Stas Bekman wrote: > Exporter > To void inherting B > ... > -- > > Does it mean: Avoid using Exporter to void...? that was a typo, s/void/avoid/ > also shouldn't: > > *import = \&Exporter::import; > be: > local *import = \&Exporter::import; goodness no. fil

modperl_style.pod

2001-04-25 Thread Stas Bekman
Doug, I have a few questions regarding modperl_style.pod =head2 Inheritance =over 4 =item Avoid inherting from certain modules Exporter To void inherting B ... -- Does it mean: Avoid using Exporter to void...? also shouldn't: *import = \&Exporter::import; be: loca

Re: cvs commit: modperl-2.0/pod modperl_style.pod

2001-01-24 Thread Doug MacEachern
On Wed, 17 Jan 2001, Ask Bjoern Hansen wrote: > On 2 Jan 2001 [EMAIL PROTECTED] wrote: > > > =item Avoid inherting from certain modules > > > > Exporter > > To void inherting B > > > >instead of this: > > > > @MyClass::ISA = qw(Exporter); > > > >use this: > >

Re: cvs commit: modperl-2.0/pod modperl_style.pod

2001-01-17 Thread Ask Bjoern Hansen
On 2 Jan 2001 [EMAIL PROTECTED] wrote: > =item Avoid inherting from certain modules > > Exporter > To void inherting B > >instead of this: > > @MyClass::ISA = qw(Exporter); > >use this: > > *import = \&Exporter::import; Why? To get less obscure error mess