in reply to Re^2: total noob question about xml parsing
in thread total noob question about xml parsing

try reading perldoc perldata/pervar and perlreftut before u do anything to see if u are getting a hang of things. for any perl command u want to quickly check eg : sort perldoc -f sort.
Do not wait to strike when the iron is hot! Make it hot by striking - WB Yeats
  • Comment on Re^3: total noob question about xml parsing

Replies are listed 'Best First'.
Re^4: total noob question about xml parsing
by AnomalousMonk (Archbishop) on Oct 25, 2014 at 16:12 UTC

    It's not even clear to me that perldoc is available to kgovert007 in the ancient, crippled 'baseline' Perl installation with which he or she is lumbered. Basically, the problem is "How do I write a sophisticated Perl program without using anything one would consider (modern) Perl?" (And make no mistake, XML parsing is a complex and sophisticated application.)

      Exactly! My initial attempt with this problem is to simply chomp each line of text (My ICD guarantees that at least I can be assured that each new tag is on a new line) into an array, and walk through the array, keeping track of a few flags and variables along the way so I can make changes as needed...

      Painful and retarded, but I think it's the best I can come up with in a short time frame with my ridiculous constraints.
        ok
        Do not wait to strike when the iron is hot! Make it hot by striking - WB Yeats
      maybe man pages. dont they come bundled with ur install ?
      what even is the version quoted doing the rounds still ? perl-5.00503.
      Do not wait to strike when the iron is hot! Make it hot by striking - WB Yeats
        man pages are there, yes.