Re: Need some help...

Rob Fugina <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
On Tue, Jun 16, 2009 at 10:19, Phil Whelan<[email protected]> wrote:
> Hi Doug,
>
>> It looks to me that the OBJECT constant is from POE is being interfered with
>> by the OBJECT constant from Params::Validate.  After removing the validate
>> method, the code seems to run OK.
>
> I think you need one of these...
>
>    use POE::Session;
>
> I usually find the POE constants are not imported unless I use this.

To all -- First, thank you for the assistance.  It is greatly appreciated.

Second, the problem really did turn out to be Params::Validate's
exported symbols interfering with POE's (or POE::Session's) exported
symbols.  My solution was to be selective about what is exported from
Params::Validate (I had been using :types, now I export specific
symbols as needed), and *not* to export OBJECT, instead using
Params::Validate::OBJECT.

Thanks again,
Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.