|Just another Perl shrine|
5.10.0 seems to break packageby lembark (Novice)
|on Jul 10, 2009 at 19:49 UTC||Need Help??|
lembark has asked for the wisdom of the Perl Monks concerning the following question:
Nothing in perldelta describes this difference; can't find any ref's via google or search on 5.10/mulitple/package.
Oddity: with use v5.10.0 (in any of the stringy versions), a second package delivers a syntax error. For example, the code below fails with:
syntax error at hak.pm line 6, near "package bar"
Adding semi-colons after the sub's allows the code to compile, but I don't remember seeing anything about semicolons being required after sub def's -- even ones before package declarations.
Or is there something else in the perldelta that I've missed?
so much for my editing skills -- sorry for wasting your time -- the original was frying itself with the subs in place.