new package syntax, where do I return true?
[email protected] (Caleb Cushing) Fri, 1 Jul 2011 23:00:06 -0500
| Newsgroups | perl.documentation |
|---|---|
| Message-ID | <[email protected]> |
Having a little debate over this on a Perl::Critic ticket. I'm not
sure anyone is sure and the docs don't say.
https://rt.cpan.org/Ticket/Display.html?id=69234
is it package foo { ... 1; } or package foo { ... }; 1; ? or what?
and is it possible this could get clarified in the next edition of the
docs?
--
Caleb Cushing
http://xenoterracide.com