Comment One could expect this attempted runaway idea from (Score 1) 186
Seriously people, if one is trying to "civilize" the world, shouldn't one be civilized first?
As far as I can tell, this code is syntactically correct (if executed by a Perl interpreter).
Unless something goes terribly wrong with Perl, the code behavior is pretty well defined. It shall output the following 2 lines:
> This is the header of the output > where are the entries?
So the only sensible answer to the question"why doesn't this work" is "it works"
The program completes, it does not mean it works. If you put two engines on an airplane facing the opposite direction you can still start the engines and get the "all checks complete" lights - but you'll probably not get where you wanted to go.
"This isn't brain surgery; it's just television." - David Letterman