Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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
    "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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://938507]
Approved by planetscape
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2018-01-20 11:35 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (226 votes). Check out past polls.