Help for this page

Select Code to Download


  1. or download this
    sub trace {
      my($package, $filename, $line) = caller;
      # ...
    }
    
  2. or download this
    package TraceMacro;
    
    ...
        print STDERR "$file ($line): $names[$i]:'$values[$i]'";
      }
    }
    
  3. or download this
    use TraceMacro;
    
    # ...
    TRACE( $foo, $bar );