Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Hash-bang in pod can cause older versions of perl to fail

by crashtest (Curate)
on Apr 01, 2010 at 18:52 UTC ( #832363=note: print w/ replies, xml ) Need Help??


in reply to Hash-bang in pod can cause older versions of perl to fail

I can't give you the answer, but I can give you an example of a Perl that can't handle the shebang line in the POD.

Our UNIX servers happen to have Perl 5.6.1 installed, so I fed your code to it. The process exited without emitting any output (despite the print statement), with exit code 0. This is in contrast to, for example, Perl 5.10.1 (which I have installed locally), which printed "hi" to STDOUT, as expected.

Your node made me curious, so I spent some time checking the perldelta's from 5.6.1 on, as well as the changelog for Pod::Parser, but I couldn't find a clue as to when the behavior was fixed.


Comment on Re: Hash-bang in pod can cause older versions of perl to fail
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://832363]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (18)
As of 2015-07-31 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (279 votes), past polls