Date: 09 Dec 2001 15:13:04 +0000 From: Wayne Pascoe <freebsd@molemanarmy.com> To: Marty Landman <marty@face2interface.com> Cc: questions@FreeBSD.ORG Subject: Re: question not asked (sysadmin - Perl?) Message-ID: <86ofl8ifzz.fsf@pan.home.penguinpowered.org.uk> In-Reply-To: <5.1.0.14.0.20011209100829.00a7bec0@pop.ulster.net> References: <5.1.0.14.0.20011209100829.00a7bec0@pop.ulster.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Marty Landman <marty@face2interface.com> writes: > Hi, > > I think this question is in the spirit of "the only dumb questions are > the ones left unasked." > > > I've got the following program which is a test extracted from a > formerly running script on a website. Actually I slightly altered this > for posting to remove HTML tagging. > > > ------------------------------------------------------------ > > #!/usr/local/bin/perl > > print "Content-type: text/html\n\n"; > use Cwd; > for($root = cwd()) {print "Root eq $root"} > > __END__ > Firstly, whenever a web script doesn't work like you expect it to, check the ErrorLog for the virtualhost that you are running the script in. This will normally give you some indication of what the problem is. -- - Wayne Pascoe | 'tis far easier to get forgiveness than freebsd@molemanarmy.com | it is to get permission - probably someone http://www.molemanarmy.com | famous, but more often, my Dad. | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ofl8ifzz.fsf>