Re: require and do - absolute vs relative - let me try again
From: Derf (wunkalunka_at_elvis.com)
Date: 10/07/03
- Next message: Derf: "Re: require and do - absolute vs relative - let me try again"
- Previous message: Derf: "Re: require and do - relative vs absolute?"
- In reply to: James Willmore: "Re: require and do - absolute vs relative - let me try again"
- Next in thread: Derf: "Re: require and do - absolute vs relative - let me try again"
- Reply: Derf: "Re: require and do - absolute vs relative - let me try again"
- Reply: Anno Siegel: "Re: require and do - absolute vs relative - let me try again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 07 Oct 2003 08:28:09 GMT
jwillmore@cyberia.com (James Willmore) wrote in
news:e0160815.0310061754.2929782c@posting.google.com:
> Huh? Try again using something like "/a/b/c/file.pl" instead of what
> you used to describe the issue. Maybe after doing that, you may find
> your error and not need to post ... because, it looks as though you're
> confussed about where the files are. I know I am :-)
>
> Seriously, you _should_ be able to execute another script from another
> location using an absolute path. You may want to check your
> permissions and, as always, try the script from the command line to
> see what happens.
>
> HTH
>
> Jim
I appreciate the help. I have the same problem from command line. It
turns out it is just this script. Other scripts run fine with the
absolute path. It is only this one script that says it can't be found if
I use an absolute path, but can be found if it is in the same directory
with a relative path (any other relative path fails as well "No such file
or directory"). The reqiuired script runs fine. The required script has a
couple do commands that use relative paths though. I wonder if those do
commands might need to be absolute so the require sees them. hmmmm
- Next message: Derf: "Re: require and do - absolute vs relative - let me try again"
- Previous message: Derf: "Re: require and do - relative vs absolute?"
- In reply to: James Willmore: "Re: require and do - absolute vs relative - let me try again"
- Next in thread: Derf: "Re: require and do - absolute vs relative - let me try again"
- Reply: Derf: "Re: require and do - absolute vs relative - let me try again"
- Reply: Anno Siegel: "Re: require and do - absolute vs relative - let me try again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|