in reply to Re: IIS 5.0 perl problem
in thread IIS 5.0 perl problem

Prints: Bad file descriptor,-1 @Sandy: IIS is Internet Information Server, web server that is built into Windows XP. I should have mentioned, the sample script works fine off the command line. It also works fine when executed through any other web server. It's only when ran through IIS that it doesn't work properly. Mickysoft is doing something that disables CLI execution.

Replies are listed 'Best First'.
Re^3: IIS 5.0 perl problem
by ikegami (Patriarch) on Aug 22, 2009 at 03:42 UTC

    hum, not very useful. I don't know what the problem could be, but it has nothing to do with Perl.

    Shelling out to use dir is pretty silly, so you could kill two birds with one stone by avoiding it. See readdir.