Stas Bekman wrote:
Guys in the thread below make a good point. Should we accept a multiline config and split it behind the scenes? Of course since we don't know whether there are new lines in it we will always need to split.
($r|$s)->add_config($multi_line_config);
doug originally described this as .htaccess-like configuration injection, so it makes sense to me that we support a .htaccess file slurped into a single variable and passed to add_config().
Good. So should we
split /[\r\n]/, $config
if it's a scalar, and not if it's an ARRAY ref?
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
