- or download this
# Retrieve answerset.
while($odbc_session->FetchRow())
...
# Stores the hash variable.
eval $odbc_session->Data();
}
- or download this
while($odbc_session->FetchRow())
{
...
## push @pmsr, \%pmsr; # Pushes each value in the DWH_PrfMsr column i
+nto the @pmsr.
push @pmsr, {%pmsr}; # Pushes an anon.hash-ref copy of %pmsr onto
+ @pmsr.
}
- or download this
my @datetime = ((localtime)[0,1,2,3,4,5]);
...
$count++;
}
my($sec,$min,$hour,$day,$month,$year) = @datetime;
- or download this
my($sec,$min,$hour,$day,$month,$year) = map {sprintf("%02d",$_)} (loca
+ltime)[0..5];
$month++;
$year += 1900;