Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: XML parsing

by choroba (Canon)
on Nov 05, 2012 at 13:27 UTC ( #1002324=note: print w/ replies, xml ) Need Help??


in reply to XML parsing

In the for-loop, you are printing $_. You probably meant $lines[$i].

The more Perlish way would be

print "$_\n" for @lines;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: XML parsing
Select or Download Code
Re^2: XML parsing
by arunshankar.c (Initiate) on Nov 05, 2012 at 14:10 UTC
    Thank you so much choroba :-) I worked for me...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2015-07-06 13:29 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 (74 votes), past polls