Help for this page

Select Code to Download


  1. or download this
    if ($foo) {
       print LOG "Exit condition $foo reached.\n";
       exit 0;
    }
    
  2. or download this
    if ($line =~ /\w+sql=\w+/i) {
       $db = "mysql";
       $db_loc = (split(/=/, $line))[1];
    }
    
  3. or download this
    else {
       print DEBUG "Error: Couldn't parse a database out of line ($line)\n
    +";
    }