Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
[marto]: hey Corion, good weekend?
[Corion]: marto: Yeah, even though I didn't write any code :)
[Corion]: But at least I have a plan of action to move the site to https, played some (free!) VR games with friends and watched the plans for the next German Perl workshop progress ;)
[Corion]: AltSpace VR is amazingly good - highly polished and with some of the games you get for free what you'd pay EUR 20 or EUR 40 otherwise
[Corion]: But maybe it's also due to that I play with friends, which makes a game more enjoyable anyway ;)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2017-08-21 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (319 votes). Check out past polls.

    Notices?