Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: XML::Parser Tutorial

by mirod (Canon)
on Mar 07, 2001 at 21:29 UTC ( #62786=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/perl -w
    use strict;
    use XML::Parser;
    ...
      { my( $pe, $elt, %atts)= @_;
        print "my option: ", $pe->{'Non-Expat-Options'}->{my_option}, "\n"
    +;
      }
    
  2. or download this
    #!/bin/perl -w
    use strict;
    use XML::Parser;
    ...
        $p->parse( '<c />') 
           unless( $pe->{'Non-Expat-Options'}->{my_option} > 3);
      }
    
  3. or download this
    element: a - my option: 1
    element: c - my option: 2
    element: c - my option: 3
    element: b - my option: 4  
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://62786]
help
Chatterbox?
[karlgoethebier]: isn't the earth flat?
[LanX]: kgb only when confirmed by Fox news

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-10-24 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (289 votes). Check out past polls.

    Notices?