One more thing: If you're not already doing so, you should probably start putting
use strict; use warnings; at the top of your scripts. It will be a pain in the short term but will help you out later on. -----Original Message----- From: Stephan Gross [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 3:44 PM To: beginners@perl.org Subject: Reading Excel spreadsheet into variables <snip> $everything = $sheet->UsedRange()->{Value}; for (@$everything) { for (@$_) { print defined($_) ? "$_|" : "<undef>|"; } print "\n"; } However, I don't understand what @$everything and @$_ are; arrays, arrays of arrays, hashes? It looks like the entire spreadsheet goes into $everything, which is more confusing since it is a scalar. <snip> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>