Help for this page

Select Code to Download


  1. or download this
    for my $a (</home/www/*/logs/weekly>) {
    substr($a,-7)=" "; # <<< here
    
  2. or download this
    substr($a,-7)= ""; # empty string!
    
    # or let the os handle the path
    $a .= '/..';