Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Copy folders

by afoken (Chancellor)
on Sep 13, 2015 at 16:23 UTC ( [id://1141840]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use strict; use warnings;
    
    ...
    while (($i=sysread $cpo,$data,4096)!=0){print $cpn $data};
    close($cpn);close($cpo);
    }
    
  2. or download this
    #!/usr/bin/env perl
    use strict; use warnings;
    
    ...
    }
    rmdir "$_[0]";
    }
    
  3. or download this
    sub fmove {
    my ($i,$data,$mvo,$mvn);
    ...
    while (($i=sysread $mvo,$data,4096)!=0){print $mvn $data};
    close($mvn);close($mvo);unlink("$_[0]");
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1141840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found