Help for this page

Select Code to Download


  1. or download this
    sub printlog {
      print LOG @_ unless $nolog;
    }
    printlog "======== done =========\n";
    
  2. or download this
    print LOG "======== done =========\n"  unless $nolog;
    
  3. or download this
    BEGIN {
      my $nolog = 0;
    ...
    }
    setlog 1;
    printlog "======== done =========\n";