Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
Without actually running the program, what do you think the following prints?
<<print;
exit
<<print;
exit
Update: Thanks to pudge for fixing the bug which made the above code hard to display.
exit (Score:2)
Just "exit". Then it defines an unused string that also consists of "exit". Now I'll go see if I'm right.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re: (Score:2)
Curiously, the output is different on my MacBook (but also wrong).
Re: (Score:2)
That is indeed strange. My 5.10.0 just printed exit, as I predicted. :)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Cute challenge (Score:1)
Re: (Score:2)
Actually, the extra newlines were an artifact of a bug in use.perl. Pudge has fixed it.
That being said, yesterday I found that my MacBook was giving me a "Can't find string terminator" error but the Solaris box I was working on was printing:
This morning, the Solaris box is printing the right thing, but I had to reboot due to a "security upgrade" and now I can't reproduce the error :(
Bug (Score:2)
Thanks Ovid, looks like I found the bug and fixed it. Feel free to amend your journal entry.
Re: (Score:2)
Thanks.