Help for this page

Select Code to Download


  1. or download this
    chdir($workdir);
    foreach ($files) {
       workOnFile();  ## should have $_ as an arg, shouldn't it?
    }
    
  2. or download this
    foreach ( $files ) {
        workOnFile( "$workdir/$_" );
    }