Help for this page

Select Code to Download


  1. or download this
    eval {
      # my stuff ...
    ...
    } or do {
      # what you are currently putting inside if ($@) {...} goes here.
    }
    
  2. or download this
    if($opt_daemon) {
       # ... intro stuff
    ...
         $log->error("unable to insert data");
      }    
    }
    
  3. or download this
    sub runMailHandler {
      my ($opt_mailid) = @_;
    ...
    } else {
      runMailHandler($opt_mailid);
    }