in reply to Re^2: Cannot run a simple script?help im new
in thread Cannot run a simple script?help im new

That's simply because, as the error message says, DBI::db doesn't have an execute method. Try changing it from $sth = $dbh->execute(); to $sth->execute();

Also, please use code tags when posting code. Thanks.