Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Converting a Text file to XML

by graff (Chancellor)
on Nov 17, 2011 at 11:03 UTC ( #938591=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my ($bibData, $quote, $primary, $sec) = /
            ^([^"]* "[^"]+"[^"]*)
    ...
            \@([^%]+)
            \%(.*)
            /x;
    
  2. or download this
        my ($bibData, $date, $quote, $primary, $sec) = /
            ^([^"]* "[^"]+".*?)
    ...
        $xml->dataElement(primary => $primary);
        $xml->dataElement(sec     => $sec);
        $xml->endTag();
    
  3. or download this
    "Big Brother."  Review of Orwell's Novel 1984.  Nov. 2011.  "Tough sit
    +uation." @tricky %unparsable.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-12-18 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (49 votes), past polls