develooper Front page | perl.perl5.porters | Postings from August 2009

Re: [perl #68706] problem with pod inside function arguments

Thread Previous | Thread Next
Rafael Garcia-Suarez
August 22, 2009 04:45
Re: [perl #68706] problem with pod inside function arguments
Message ID:
2009/8/21 Aaron Trevena <>:
> Adding pod inside of a function call resulted in the following error:
>  String found where operator expected at
> /home/teejay/development/freelance/lucemincendo/trunk/webserver/script/../lib/RSTDB/Schema/Result/
> line 30, near "cut
>  "person_id""
>        (Do you need to predeclare cut?)
> It appears that perl parses the =cut at the end and the next line as
> code, rather than just the next line - adding whitespace and newlines
> didn't affect this.

I think that this is documented somewhere (you can use pod only
between statements), but I can't find where exactly by now...

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About