Help for this page

Select Code to Download


  1. or download this
    # Retrieve answerset.          
    while($odbc_session->FetchRow())
    ...
           # Stores the hash variable.
        eval $odbc_session->Data();
       }
    
  2. 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. 
       }
    
  3. or download this
    my @datetime = ((localtime)[0,1,2,3,4,5]);
    
    ...
        $count++;    
    }
    my($sec,$min,$hour,$day,$month,$year) = @datetime;
    
  4. or download this
    my($sec,$min,$hour,$day,$month,$year) = map {sprintf("%02d",$_)} (loca
    +ltime)[0..5];
    $month++;
    $year += 1900;