Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hello skooma,

Welcome to the Monastery. From my point of view your code is copy paste from the package or a tutorial regarding the Spreadsheet::ParseXLSX. From your description you not doing anything that you describe.

So from my point of view in order as to help you is not about to solve it for you but guide you step by step to understand what happens. If I understand correctly you want to read the data from the excel sheet into a hash and then evaluate them with the *.txt file. If so did you try to print your hash to see what data you have inside? Hint Data::Dumper.

Let's assume that the data inside the hash is what you need to store, then you read line by line the text file, how do you compare the hash data with the lines?

Try to approach these minor problems before proceeding and I think you will solve it.

If you are still not able to resolve it, provide us sample of your input of both of the files and the expected output. We can not guess the data for you.

Hope this helps, BR.

Seeking for Perl wisdom...on the process of learning...not there...yet!

In reply to Re: How to evaluate a mathematical formula that is stored in another file? by thanos1983
in thread How to evaluate a mathematical formula that is stored in another file? by skooma

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found