Help for this page

Select Code to Download


  1. or download this
    my $path = "C:/temp/stuff";
    
  2. or download this
    open (PATH, "c:/logs/paths.txt"); 
    my @directories = <PATH>; 
    close (PATH);
    
  3. or download this
    foreach (@directories) { 
       if ($path eq $_) { 
          stuff 
       } 
    }