in reply to Re^3: cgi search all txt files in a directory
in thread cgi search all txt files in a directory

Thanks you have been really helpful, but when doing this </path/to/some/directory/$digit*> I get the following errors
Bareword found where operator expected at pointsnew.cgi line 24, near +"/var/www" (Missing operator before www?) "my" variable $file masks earlier declaration in same scope at pointsn +ew.cgi line 25. syntax error at pointsnew.cgi line 24, near "/var/www" syntax error at pointsnew.cgi line 37, near "}" Execution of pointsnew.cgi aborted due to compilation errors.