- or download this
do {
local *STDERR = *STDOUT;
$! = 0;
die(h1( {class=>'cyan'}, "Error occured $row->{username}! Script ha
+ve to die" ));
} if $select->rows;
- or download this
do {
print(h1( {class=>'cyan'}, "Error occured $row->{username}! Script
+have to die" ));
exit(0);
} if $select->rows;
- or download this
print(h1( {class=>'cyan'}, "Error occured $row->{username}! Script hav
+e to die" )), exit(0)
if $select->rows;
- or download this
if ($select->rows) {
print(h1( {class=>'cyan'}, "Error occured $row->{username}! Script
+have to die" ));
exit(0);
}
- or download this
sub fatal_error {
print(h1( {class=>'cyan'}, @_);
...
fatal_error("Error occured $row->{username}! Script have to die")
if $select->rows;