Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: XML::Twig newbie question

by remiah (Hermit)
on Sep 18, 2012 at 15:03 UTC ( #994297=note: print w/replies, xml ) Need Help??

in reply to XML::Twig newbie question

There is another way ,which you find it in tutorial of twig. Please see "sub make{" and its handler registration.

my $twig= XML::Twig->new( twig_handlers => { topicref => sub{ topicref_processing(@_, $filenam +e);}, ); sub topicref_processing{ my($twig,$elt, $filename)=@_; ####you can get twig and elt here. }
I wonder why links to XML::Twig documents have so much troubles...?

Replies are listed 'Best First'.
Re^2: XML::Twig newbie question
by Anonymous Monk on Sep 18, 2012 at 20:02 UTC

      Updated my bookmark.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994297]
[Lady_Aleena]: Corion, I knew that, I was just giving Discipulus a hard time.
choroba likes the story at the end of the node
[choroba]: reminds me of the days at the bank
[Corion]: Lady_Aleena: Hehe ;-D
[Lady_Aleena]: Corion, it was PerlMonks who kept pushing me to get Linux, so now I know some of the commands to use in word play.
[Corion]: Lady_Aleena: :-D

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-04-26 08:30 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (471 votes). Check out past polls.