On Fri, 8 Oct 1999, Matt Sergeant wrote:
> On Fri, 08 Oct 1999, Stas Bekman wrote:
> > On 7 Oct 1999, Randal L. Schwartz wrote:
> >
> > > >>>>> "Stas" == Stas Bekman <[EMAIL PROTECTED]> writes:
> > >
> > > Stas> yes, there are... you get a code like:
> > >
> > > Stas> sub handler{
> > > Stas> print "hi\n";
> > >
> > > Stas> =pod
> > >
> > > Stas> =head1 Hi
> > >
> > > Stas> =cut
> > >
> > > Stas> }
> > >
> > > Stas> which is syntaxically incorrect, pod directives should not appear inside
> > > Stas> the subs... I'll add this note too...
> > >
> > > What's incorrect about that? Pod is meant to be intertwined with
> > > Perl.
> >
> > Heh, did you try to run the code which includes, pod directives inside the
> > subroutine? At least it didn't work for me with perl5.00503. Does it work
> > for you?
>
> Works for me - perhaps you indented the pod directives? (5.00503)
Yup, I was wrong - it works!!!
The problem indeed was the indented pod directives :( My mistake
Somehow I thought that Registry indents the code it wraps, like
cperl-mode.el ...
Thanks, Matt!
_______________________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] www.singlesheaven.com/stas
Perl,CGI,Apache,Linux,Web,Java,PC at www.singlesheaven.com/stas/TULARC
www.apache.org & www.perl.com == www.modperl.com || perl.apache.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com