Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-02 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls