Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: file copy and create csv problems

by kyle (Abbot)
on Apr 14, 2009 at 14:58 UTC ( #757409=note: print w/replies, xml ) Need Help??

in reply to file copy and create csv problems

Here's a decryption of the code you have, using B::Deparse.

BEGIN { $/ = "\n"; $\ = "\n"; } LINE: while (defined($_ = <ARGV>)) { chomp $_; our(@F) = split(//, $_, 0); $D[-1] = {%{$D[-1]}, @F} unless @F % 2 and push @D, {'Stamp', @F}; } { $, = ','; print @{$_}{'Stamp', 'Login', 'searchload'} foreach (@D); }

I'm not sure how much use that is, but it's more comprehensible than what you posted.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2016-10-26 01:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.