Help for this page

Select Code to Download


  1. or download this
       switch ($i) {
          case /-U.*/ {print LOG "Adding user to curl\n";$curla.=$i." ";}
          case /-x.*/ {print LOG "Using proxy for curl\n";$curla.=$i." ";}
          else {print LOG "Unknown argument: $i\n"}
       }
    
  2. or download this
    $ perl -MO=Deparse 707299.pl
    ...
    ...
    continue {               <------ Added by Switch.
        last;                <------ Causes "for @links" to
    }                        <------ exit after first pass.