in reply to Re^2: HELP TO WRITE THE PERL CODE
in thread help to write perl code

Thanks very much for the reply. I see that you have given in a variable. My input xml file is huge which I cannot copy and paste in the script. Is there a way in which I could pass the input file into the code given above and then do the processing.

Replies are listed 'Best First'.
Time to read perlintro
by hippo (Archbishop) on Oct 06, 2015 at 12:55 UTC

    Naturally there is. The basics are covered in perlintro which also contains links to yet more extensive documentation.

Re^4: HELP TO WRITE THE PERL CODE
by Anonymous Monk on Oct 07, 2015 at 01:25 UTC

    Thanks very much for the reply. I see that you have given in a variable. My input xml file is huge which I cannot copy and paste in the script. Is there a way in which I could pass the input file into the code given above and then do the processing.

    If you want to change this self-contained program to read xml from a filename, you need to read XML::LibXML