Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Easy XML-parser that can handle large file?

by Discipulus (Abbot)
on Sep 12, 2014 at 07:42 UTC ( #1100366=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    para    => sub { $_[1]->set_tag( 'p')  }, # change para to p (handlers
    + receive $twig and $element as argouments)
    para    => sub { $_->set_tag( 'p')  },    # change para to p ($_ is al
    +iased to $_[1] for convenience  )
    ...
    ###and in the corpus of the docs:
    
    $_ is also set to the element (ie: $_[1]), so it is easy to write inli
    +ne handlers like 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2019-04-19 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (106 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!