Help for this page

Select Code to Download


  1. or download this
    #!perl
    use HTTP::Proxy;
    ...
    # this is a MainLoop-like method
    print "Running proxy on port $port\n";
    $proxy->start;
    
  2. or download this
    #!perl
    use strict;
    ...
        $str=~s/[\r\n\s\t]+$//s;
        return $str;
        }