Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Converting a Text file to XML

by strobodyne (Initiate)
on Nov 17, 2011 at 02:43 UTC ( #938507=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Leyson, Captain Burr.  "With or Without Gadgets."  Boys' Life.  Nov 19
    +49.  p. 6.  "An old-timer knew what he had to do in a jam.  He didn't
    + need hundreds of those gadgets to guide him to safety."  @gauge %tri
    +vial
    
    "The Battle Against Baldness."  Kiplinger's Personal Finance.  Feb 194
    +9.  "A little home hair-cutter gadget--a comb with a razor attached--
    + has zipped its way into fame in recent months.  Barbers pooh-pooh it
    + as a threat, but sales are going strong."  @tool %american
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
            print "<entry>$_ <year> $year </year> </entry>\n";
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2015-07-06 21:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls