Board: DXpress Project

Subject

Re: File locations

Author

Tim Pizey

Status

Date

15/09/1999 22:28

Message

>I have kept dx_upload.cgi in cgi-bin, and put everything else into DX,
This was so as not to have to try to mess about with
@INC;
but I did anyway:
<code>
BEGIN {
if (defined $ENV{'PERL_INCLUDE'})
{
unshift @INC, split /;/, $ENV{'PERL_INCLUDE'};
}
else
{
unshift @INC, (./DX);
}
}
</code>
Doesn't work, the <code>use Format;</code>
fails in FormatFFF4.pm and prints out @INC,
which doesn't include './DX'.
So I have used
<code>use DX::Format;</code>
which works and I am happy with using forever,
but, though I have given up hoping for a principled
explanation of anything in Perl I was hoping to
come to a story I could tell myself :)
yours
Tim

DXpress Project Board

 

Post Follow-up

Search This Board

 

Message Context:

File locations Tim Pizey 15/09/1999 22:28

    Re: File locations Tim Pizey 15/09/1999 22:28

        Re: File locations Tim Pizey 15/09/1999 22:28



Home -  News -  Reference Sites -  Members -  Partners -  Guidelines -  Philosophy -  Your Details -  Logout