Help for this page

Select Code to Download


  1. or download this
    sub db_execute {
        my(@return,@a,$cursor);
    ...
            return (@return);
        }
    }
    
  2. or download this
    my $SQL =  "select a,b,c from table";
    my @lines = db_execute($SQL);
    while( ($a,$b,$c) = @lines ){
         ..
    }