Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Parsing Data logger files ...

by RedTussock (Acolyte)
on Oct 07, 2012 at 00:17 UTC ( #997647=note: print w/ replies, xml ) Need Help??


in reply to Re: Parsing Data logger files ...
in thread Parsing Data logger files ...

Awesome thanks ... And the open the folder and process all files in it would look something like ..

opendir XX, "/somefile/somewhere" or die "Couldn't open the directory +: $!"; while ($_ = readdir (XX)) { $/ = "\n1="; while (<>) { my @fields = split /\n/; s/^[1-6]=// for @fields; print +(join ',', @fields[0 .. 5]), "\n"; }
Sorry my perl scripting is newb in the extreme ... :-)


Comment on Re^2: Parsing Data logger files ...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-09-23 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (216 votes), past polls