Help for this page

Select Code to Download


  1. or download this
    $newlocation = "/perl/ass/$folder[$N]/$logfiles[$hour]";
    
  2. or download this
    $newlocationdir = "/perl/ass/$folder[$N]";
    
  3. or download this
    use File::Path 'mkpath';
    use File::Copy 'move';
    mkpath "/perl/ass/$folder[$N]";
    move($oldlocation, $newlocation) or die "File cannot be moved: $!";