MySQL Forums
Forum List  »  Perl

Re: simple requires not being found IIS
Posted by: Bill Karwin
Date: November 15, 2006 11:04AM

What is the current working directory of your Perl script?

The statement require "common_functions.pl" is looking for that file in the current working directory. If the file isn't located there, it won't find it.

Who knows what IIS sets the current working directory to?

Try using the Cwd class to find out:
use Cwd;
$currWorkDir = &Cwd::cwd();

Regards,
Bill K.

Options: ReplyQuote


Subject
Written By
Posted
Re: simple requires not being found IIS
November 15, 2006 11:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.