Help for this page

Select Code to Download


  1. or download this
    $file1 = s/(\W)/\\$1/; # and similarly for other filenames
    
  2. or download this
    foreach $d ( @dirs ) {
       -e $d or die;         # works
    ...
       $d =~ s/(\W)/\\$1/g;
       system("touch $d");   # touch can't find it, it prints an error!!!
    }