Help for this page

Select Code to Download


  1. or download this
    my $directory = "/home/e/Doc/AutoMation";
    
    ...
        open( my $in_fh, '<', $file );
        …
    }
    
  2. or download this
    opendir( DIR, $directory );
    for my $file ( readdir DIR ) {
    ...
        open( my $in_fh, '<', "$directory/$file" );
        …
    }