Sep 24, 2011, 5:36 AM
Post #1 of 1
XML::Parser and Moose
Working on an app using Moose and XML::Parser package.
I have written a class foo that uses info from an xml file to initiate itself.
I create an instance of the XML::Parser class and set handlers for that instance.
Now I need to access some data in the foo class from these handlers but don't quite know how.
$xmlParser -> setHandlers(Start => \&_new_info, End => \&_close_info);
Anyone out there who encountered this before?