Help for this page

Select Code to Download


  1. or download this
      system($cp, $from, $to);
    
  2. or download this
      cp($from, $to);
    
  3. or download this
    sub cp {
      system('/bin/cp', @_);
    }
    
  4. or download this
    sub cp {
      require File::Copy;
      File::Copy::cp(@_);  #doesn't work for wildcards, I think.
      # File::Copy::cp(map {glob $_}, @_) # <-- might be needed for wildca
    +rds
    }