RE: Clarification - Re: Include directory as location of perl script

2001-04-29 Thread King, Jason
Andrew Moore writes .. >On Fri, Apr 27, 2001 at 04:25:49PM -0400, Craig >Moynes/Markham/IBM wrote: >> I cannot use a fixed library path as the script will be installed in >> different directories on different systems. >> >> the idea is it will be executed as: >> /home/dbncc/perl/scripts/.pl

Re: Clarification - Re: Include directory as location of perl script

2001-04-27 Thread Michael Lamertz
Johnathan Kupferer ([EMAIL PROTECTED]) wrote: > Camel Book, page 851: ... > This will do just what you want. By the way, to anyone who will listen: > Get the Camel Book, "Programming Perl 3rd ed." published by O'Reilly. > If you are serious about Perl, get it and read it. You'd be surprised

Re: Clarification - Re: Include directory as location of perl script

2001-04-27 Thread srl
On Fri, 27 Apr 2001, Johnathan Kupferer wrote: > This will do just what you want. By the way, to anyone who will listen: > Get the Camel Book, "Programming Perl 3rd ed." published by O'Reilly. > If you are serious about Perl, get it and read it. You'd be surprised > how many of the question

Re: Clarification - Re: Include directory as location of perl script

2001-04-27 Thread Paul
--- Johnathan Kupferer <[EMAIL PROTECTED]> wrote: > . . . > Oh, and just to raise some hell: if you're new to Perl, you may also > want to look at Python. I don't know which language I would recomend > more... I recommend Perl to gearheads and programmers looking for a new tool. For rank begi

Re: Clarification - Re: Include directory as location of perl script

2001-04-27 Thread Johnathan Kupferer
Camel Book, page 851: One solution for this is to use the standard FindBin module: use FindBin; use lib $FindBin::Bin; This will do just what you want. By the way, to anyone who will listen: Get the Camel Book, "Programming Perl 3rd ed." published by O'Reilly. If you are serious abo

Re: Clarification - Re: Include directory as location of perl script

2001-04-27 Thread Michael Lamertz
Craig Moynes/Markham/IBM ([EMAIL PROTECTED]) wrote: > I cannot use a fixed library path as the script will be installed in > different directories on different systems. > > the idea is it will be executed as: > /home/dbncc/perl/scripts/.pl > > and the library will also be located in the same

Clarification - Re: Include directory as location of perl script

2001-04-27 Thread Craig Moynes/Markham/IBM
I cannot use a fixed library path as the script will be installed in different directories on different systems. the idea is it will be executed as: /home/dbncc/perl/scripts/.pl and the library will also be located in the same directory. - Craig Moyne