in reply to Why is this program producing blank lines when parsing a file
while (<LOGDATA>) { $logline=$_; $logline =~ s/</</g; $logline =~ s/>/>/g; print ("The whole line is ---> ",$logline); }
As for recommendations, why not search CPAN for XML parsing modules, eh?
.02
cLive ;-)
--
seek(JOB,$$LA,0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Why is this program producing blank lines when parsing a file
by vonman (Acolyte) on May 20, 2002 at 22:01 UTC |