Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 ... :-)

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 browsing the Monastery: (9)
As of 2016-09-28 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (531 votes). Check out past polls.