Help for this page

Select Code to Download


  1. or download this
    
    sub NOW {
    ...
    # Needs to be in
    }
    $sth->execute(NOW());
    
  2. or download this
    my $sth = $dbh->prepare(q{
        INSERT INTO t ( foo, bar, time ) VALUES (?, ?, NOW() )
    });
    
    $sth->execute($foo, $bar);