| [reply] [d/l] |
excel has this limitation that it cant support that many formats if I am trying to generate one each time in the loop? correct?
| [reply] |
That is the reason your output is wrong. It is not why your code is wrong. Or in other words, even if Excel supported unlimited number of formats, the code would still be wrong.
See, there is nothing wrong with copy and pasting code snippets from the docs or some example on the internet. But you have to understand it too :)
open my $tf, "output.txt" or die "Cannot open file";
while(my $line = <$tf>)
{
if ( $line =~ /.*versions are SAME.*/)
{
# ...
}
}
My hunch is, this is your code and the rest is copy and pasted.
holli
You can lead your users to water, but alas, you cannot drown them.
| [reply] [d/l] |