Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Help in manipulating values from two arrays

by rsriram (Hermit)
on Mar 26, 2007 at 05:46 UTC ( #606522=note: print w/replies, xml ) Need Help??

in reply to Re: Help in manipulating values from two arrays
in thread Help in manipulating values from two arrays


Thank you very much!! Your code is amazing. I just need one further help. I have the contents <act>key</act>... on a separate xml file. I am not able to succeed if I use open or if I store the file to a variable and call the variable from the place where you have placed the content. Can you please tell me how I can call a external file here?

Thanks, for all your help in this

Replies are listed 'Best First'.
Re^3: Help in manipulating values from two arrays
by GrandFather (Saint) on Mar 26, 2007 at 10:33 UTC

    It's not clear to me what you are trying to achieve with the separate file. Perhaps you could sketch in code what you are trying to do? Not a fully worked attempt to provide a solution to the problem, but an outline of the steps you think are required.

    DWIM is Perl's answer to Gödel


      From the lines of text I mentioned previously, (if the content of <prod> is not "non billable" or "insufficient information") the output should display the average of the <prod>. To be more specific, if there are 4 lines which has <emp>3984</emp>, I need to display the average of all the <prod>. Thanks for all your efforts.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2022-12-06 08:35 GMT
Find Nodes?
    Voting Booth?

    No recent polls found