
trysil
Novice
Sep 24, 2011, 5:36 AM
Post #1 of 1
(1002 views)
|
|
XML::Parser and Moose
|
Can't Post
|
|
Hi! 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.
$xmlParser -> setHandlers(Start => \&_new_info, End => \&_close_info); Now I need to access some data in the foo class from these handlers but don't quite know how. Anyone out there who encountered this before? /T
|