JSchmitz has asked for the wisdom of the Perl Monks concerning the following question:
for(my $iR = $oWkS->{MinRow} ; defined $oWkS->{MaxRow} && $iR <= $oWkS->{MaxRow} ; $i +R++) { for(my $iC = $oWkS->{MinCol} ; defined $oWkS->{MaxCol} && $iC <= $oWkS->{ +MaxCol} ; $iC++) { $oWkC = $oWkS->{Cells}[$iR][$iC]; print "( $iR , $iC ) =>", $oWkC->Value, "\n" if($oWkC) +; } } } # This helps make sure we're using the vars we mean to use use strict; # use DBI; # you'll need to add the dbi +/ oracle info? my $oldrow = 0; my @field_names = qw(fieldname_one fieldname_two fieldname_three); my (@fields,@values); # my $dbh = DBI->connect(...,...,...); # my $sth; open DATA, "< $oWkS" or die "$oWkS: $!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: accessing data in a hash
by arturo (Vicar) on May 03, 2001 at 20:38 UTC | |
|
Re: accessing data in a hash
by premchai21 (Curate) on May 03, 2001 at 20:36 UTC | |
|
Re: accessing data in a hash
by princepawn (Parson) on May 03, 2001 at 20:33 UTC | |
by JSchmitz (Canon) on May 03, 2001 at 21:53 UTC |