Re: Constant functions in POE modules
Guy Hulbert <[email protected]> Mon, 15 Feb 2010 13:28:47 -0500
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2010-15-02 at 15:34 +0100, Winfried Truemper wrote:
> I'm not implying to migrate POE to Package::Transporter.
The 'fields' pragma does the same thing. Using 'perldoc -m fields'
reveals:
===
# constant.pm is slow
sub PUBLIC () { 2**0 }
===
--
--gh