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

Re: Parsing XML into a simple hash

by mattr (Curate)
on Jun 21, 2001 at 11:15 UTC ( [id://90300]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      print "Found a job $jobnumber in $location.\n"; # do something
    }
    
  2. or download this
    $buf[$i+1] =~ s/^\s*<location>\s*(.?)\s*<location>\s*$/$1/;
      # \s?(.*)\s works though..
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-25 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found