perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <j...@chamas.com>
Subject Re: Load.pm patch
Date Tue, 20 Jul 2004 12:27:50 GMT
Quoting Thanos Chatziathanassiou <tchatzi@arx.gr>:

> Thanos Chatziathanassiou wrote:
>
> > Joshua Chamas wrote:
> >
> >> Quoting Thanos Chatziathanassiou <tchatzi@arx.gr>:
> >>
> >> It does seem useful.  My work around before has been to
> >> programmatically call
> >> Apache::ASP->Load on only the directories that I want to be read
> >> fully.  Can
> >> this approach work for you without adding this config?
> >>
> >
> Actually, now that I come to think of it, it won't work: there are sites
> with a number of scripts in their root directory and a subdirectory of
> root filled up with other stuff, so these cannot be selectively added...
>

What about doing something like:

for my $file_or_dir (glob(qw(/path/to/root/*.asp)), /path/to/other) {
  Apache::ASP->Load($file_or_dir, '.*', %config);
}

Since files can be loaded as well as directories?

--Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message