I'm working on a project when I have a Perl script, call it "script",
which contains some installation dependant paths.
Since I don't want to hardcode them, I created a "script.in" file, which
contains a line with:
my $system_config_file= "@SYSCONF_DIR@/script.conf";
and placed this snippet in c
Stefano Sabatini wrote:
> I'm working on a project when I have a Perl script, call it "script",
> which contains some installation dependant paths.
>
> Since I don't want to hardcode them, I created a "script.in" file, which
> contains a line with:
>
> my $system_config_file= "@SYSCONF_DIR@/script.
Hi Keith, and thanks for the fast reply!
On date Thursday 2007-03-01 13:25:42 +, Keith MARSHALL configured this
message:
> Stefano Sabatini wrote:
> > I'm working on a project when I have a Perl script, call it "script",
> > which contains some installation dependant paths.
> >
> > Since I do
Stefano Sabatini <[EMAIL PROTECTED]> writes:
> Follow a possible implementation of this suggestion:
>
> to put in the input Perl script "script.in" something as:
> my $prefix="@prefix@";
> ...
> my $system_config_file= "@SYSCONF_DIR@/script.conf";
>
> In the resulting "script" file, prefix will b