in reply to Re^3: Creating a Hash using only one column in an imported data file
in thread Creating a Hash using only one column in an imported data file

Thank you again. I will have to get used to manipulating data sets. Also, when trying to run your code, I am getting a syntax error around say sprintf, although it it looks identical to the one before.

  • Comment on Re^4: Creating a Hash using only one column in an imported data file

Replies are listed 'Best First'.
Re^5: Creating a Hash using only one column in an imported data file
by 1nickt (Canon) on Feb 13, 2017 at 22:30 UTC

    I suppose you are copy/pasting and forgot use feature 'say'; ? Is that what the error tells you, or does it tell you something else?


    The way forward always starts with a minimal test.

      Oh yes, part of the use feature say wasn't properly stated. Now that the feature is working, the values i'm getting are very different, and much larger, compared to when I had pasted the file into the script. Does this have something to do with the push command?

        At a guess I would say more likely it has to do with the format of the data in your file being different, but we can but guess :-) Please see SSCCE and follow those guidelines to resolve your problems, now that you have got started.


        The way forward always starts with a minimal test.