Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Win32::OLE and Excel Question/Help

by roboticus (Canon)
on Feb 12, 2013 at 20:26 UTC ( #1018441=note: print w/ replies, xml ) Need Help??


in reply to Win32::OLE and Excel Question/Help

mmittiga17:

Perhaps something like:

my $buffer; while (my $line = <$INFH>) { $line =~ s/\n$//; if ($line =~ /^CUSIP/) { print $OUTFH $buffer, "\n" if defined $buffer; $buffer = $line; } else { $buffer .= $line; } }

...roboticus

When your only tool is a hammer, all problems look like your thumb.


Comment on Re: Win32::OLE and Excel Question/Help
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-08-28 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (256 votes), past polls