Pod does not get ignored by perl #43
Comments
From pfeiffer@start.deThis is a bug report for perl from occitan@esperanto.org, While you go about this, a little remark. When using =cut a lot it sticks out In the style of literate programming I just mingled the pod into a very long The = signs before item and cut are not seen, probably erroneously parsed as =head1 test =over =cut =item number =cut 1, =item newline =cut "\n"; =back gives: Number found where operator expected at test.pl line 13, near "cut 1" 1" "\n"" Site configuration information for perl 5.00502: Configured by root at Sun Apr 4 19:59:20 /etc/localtime 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: Locally applied patches: @INC for perl 5.00502: Environment for perl 5.00502: Site configuration information for perl 5.00502: Configured by root at Sun Apr 4 19:59:20 /etc/localtime 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: Locally applied patches: @INC for perl 5.00502: Environment for perl 5.00502: |
From [Unknown Contact. See original ticket]This bug is still present in 5.6. Porters, anyone game to track Nat
|
From [Unknown Contact. See original ticket]The funny thing is that if it's the first pod directive in the file, --tom |
From [Unknown Contact. See original ticket]
This is because POD directives (or whatever the are called, the paragraphs But I don't know what to do about it, since "I'm more of an idea rat." -- |
From [Unknown Contact. See original ticket]
perlsyn: Perl has a mechanism for intermixing documentation with That could be more clearly worded, but the intent is there. --tom |
From [Unknown Contact. See original ticket]Tom Christiansen writes:
Good enough for me. I'll mark it closed. Nat |
From [Unknown Contact. See original ticket]On Mon, 20 Mar 2000, Tom Christiansen wrote:
There's also an allusion in perlfaq7 under "How can I comment out a large This can't go just anywhere. You have to put a pod Cheers, |
From [Unknown Contact. See original ticket]
Perhaps if you actually read from something you could read from % perl -Mdiagnostics -e '*FOO = *STDIN; read(FOO,$FOO,2 ** 31 - 1)' Word to the wise: always read in only as much as is there, and In some cases, this is ok not to, in others, it isn't. If you know use Errno qw/EINTR/; --tom |
Migrated from rt.perl.org#845 (status was 'resolved')
Searchable as RT845$
The text was updated successfully, but these errors were encountered: