http://qs321.pair.com?node_id=204660


in reply to Error getting number of rows in excel.

I've never used it before, but isn't it possible to retrieve a column with data as list? In that case you could simply do something like: $rowCount = scalar @data;. However, I've no experience with OLE programming with Perl, so I could be mumbling utter nonsense... :-)

Hope it helps...

-- JaWi

"A chicken is an egg's way of producing more eggs."

Replies are listed 'Best First'.
Re (2): Error getting number of rows in excel.
by VSarkiss (Monsignor) on Oct 11, 2002 at 21:20 UTC

    No, that won't work (without additional code, at least). OLE collections are strange beasties that don't map nicely into Perl data structures. I wish they would....