POE and the 'fields' pragma (was: Constant functions in POE modules)

[email protected] (Winfried Trumper) Mon, 15 Feb 2010 23:06:47 +0100
Newsgroups perl.poe
Message-ID <[email protected]>
Guy Hulbert wrote:

 > The 'fields' pragma does the same thing.

'fields' is meant for hash based objects only, but POE has array based 
objects.
'fields' detects errors at run-time through Hash::Util::lock_keys, but 
POE  detects errors at compile time through constant functions.
The example use of Package::Transporter provides a definition fully 
equivalent to the ones found in POE. Thus 'fields' is totally different 
from both approaches.

While I appreciate your contribution, I won't open a general discussion 
on Package::Transporter on the POE mailing list. I'm trying to stick to 
what POE has achieved in this OT area, which I find really excellent.

-Winfried