Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Desperatly seeking CSW (Class::Std Wisdom)

by krisahoch (Deacon)
on Aug 08, 2006 at 14:52 UTC ( [id://566177]=note: print w/replies, xml ) Need Help??

in reply to Re: Desperatly seeking CSW (Class::Std Wisdom)
in thread Desperatly seeking CSW (Class::Std Wisdom)


That is a good point. I can't believe I overlooked showing an example of the call that I am making.

my $state_arguments = { 'form_data' => \%form_data }; my $state_manager = My::Class->new($state_arguments); my $welcome_handler = { 'trigger' => 'welcome', 'handler' => 'Handler::Welcome', }; $state_manager->register_handler($welcome_handler);
That is when I get the error message.

Replies are listed 'Best First'.
Re^3: Desperatly seeking CSW (Class::Std Wisdom)
by stvn (Monsignor) on Aug 08, 2006 at 15:19 UTC

    I am not getting the same error when I run this code:

    Which seems to confirm my suspicion that the problem is elsewhere in your class. The error you are tripping in Class::Std is in one of the (IMHO) darker corners of the module. Something as simple as what you have demonstrated in the OP should not be causing that error. Perhaps if you posted your entire class, the issue might be more obvious to spot.



      I figured out what was going on. Originally I was calling all of these methods from a web-based script. The server cached one of these temp files and that is where the problem has been. I actually solved this particular issue along time ago. When I went and did what you did (command-line script) the problem disappeared. It also prompted me to get a Apache Reboot as well. Thank you for your time.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://566177]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2024-04-23 11:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found