Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Win32::OLE and Excel Question/Help

by roboticus (Chancellor)
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 chilling in the Monastery: (12)
As of 2015-07-30 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls