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

Re: XML:: Twig - can you check for text following the element being handled?

by ambrus (Abbot)
on Nov 08, 2011 at 17:09 UTC ( #936828=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use warnings; use 5.014;
    our $doc = q{<?xml version="1.0" encoding="iso-8859-2" ?>
  2. or download this
    our %xmlopt = (
        keep_spaces => 1, comments => "drop", 
  3. or download this
    =begin output
  4. or download this
    if (1) {
        my $tw = XML::Twig->new(%xmlopt);
  5. or download this
    =begin output
  6. or download this
    if (1) {
        my $line_handler = sub {
  7. or download this
    =begin output

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://936828]
[Discipulus]: LanX nick does not downvote peoples, just content he dislike (I think)
[Discipulus]: anyway I have my Tk toys running at 50%!! someone want to see it?
[LanX]: disc+ true every node authored by me or mentioning Perl 6 ;)
[Discipulus]: naahh..
[LanX]: oh a tunnel ...
LanX ducks!
marto quacks

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2018-04-26 10:29 GMT
Find Nodes?
    Voting Booth?