Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-10-27 21:12 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (371 votes). Check out past polls.