[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best practices for returning 404/file-not-found pages inside and outside of mod_perl


> +    my $dir = dirname(__FILE__);
> +    use lib $dir.'/../config';
> +    use lib $dir.'/../perllib';

Actually, for some reason that syntax didn't work either, but this did work on my modperl-startup.pl:

 use lib dirname(__FILE__).'/../config';
 use lib dirname(__FILE__).'/../perllib';

    Mark



Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.