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?


_______________________________________________________________________
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

Reply via email to