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)

--
<Matt/>

Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.

Reply via email to