Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Script to manipulate data is not giving me any output

by swampyankee (Parson)
on Sep 17, 2009 at 09:32 UTC ( #795830=note: print w/ replies, xml ) Need Help??


in reply to Script to manipulate data is not giving me any output

First suggestion, make sure that your open worked.

Second is that I believe neither cat nor awk are Perl functions; you have to wrap them in a system call, qx or back quotes (`) for them to be executed. Better would be to translate the awk into Perl (use a2p, if needed) and replace cat, awk, and the shell program with a split, the few lines of Perl to replicate the script's functionality, and printf.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc


Comment on Re: Script to manipulate data is not giving me any output
Re^2: Script to manipulate data is not giving me any output
by ebi (Initiate) on Sep 17, 2009 at 09:34 UTC
    thank you very much I will re do the script now with your suggestions. Still learning sorry if the script I wrote made little sense.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-12-27 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls