Help for this page

Select Code to Download


  1. or download this
    ######################################################################
    +#
    # DEBUG       ==0 {no debugging}, ==1 {debugging}, >=2 {greater debugg
    +ing}
    ...
           print $DLOG "############################# ".scalar localtime()
    +."\nStart. . . \n";
        }
        else { open $DLOG, ">>", "/dev/null" ); }
    
  2. or download this
        for my $key { sort keys %Hash )
        {   ... do something ...
            if ( $Debug >= 4 ) { print $DLOG "Hash:\t$key\t|$Hash{$key}|\n
    +"; }
        }