Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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
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 contemplating the Monastery: (6)
As of 2020-06-07 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (42 votes). Check out past polls.

    Notices?