in reply to Die statement with text & formatting of the user
sub mydie(@) { print h1(@_); exit(0); }
Then you can say:
$select->rows and mydie {class=>'cyan'}, "Error occured $row->{username}! Script h +ave to die";
Update: Fix typo above (Thanks fenLisesi!)
|
|---|