Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Parsing XML into a simple hash

by mattr (Curate)
on Jun 21, 2001 at 11:15 UTC ( #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? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2023-01-29 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?