You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by "Philippe M. Chiasson" <go...@ectoplasm.org> on 2004/08/07 00:54:35 UTC

1;

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you look in todo/release, you'll find this entry :

* <Perl> sections:
~  A few issues with <Perl> sections:
~
http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=106074969831522&w=2
~  owner: gozer

The strictness issue has been dealt with a while ago. The only
remaining issue is that
cool one-line construct.

After poking inside httpd's configuration parser for a while, and
discovering that :
<Location /foo>SetHandler perl-script</Location>

doesn't work either because the entire configuration parser is
line-driven.

I don't think there is an easy solution to get this one to work as
we'd like.

So, I suggest getting rid of this todo item and documenting that
<Perl>1;</Perl>
doesn't work, just use

httpd.conf:
~  Perl 1
~  Perl use Coy; die

Anybody disagrees strongly ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBFAwryzKhB4jDpaURArLZAKCtU1KMiRcglL8BLgIXxsC/rl1vUwCgw2Nk
jIW5AHB+2Cb/TktNrLrIabg=
=rmUk
-----END PGP SIGNATURE-----


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


Re: 1;

Posted by Stas Bekman <st...@stason.org>.
Philippe M. Chiasson wrote:

>> Is that a new directive? I thought you could use Perl only inside <>
> 
> It was introduced as a backend for <Perl> sections and it's an available
> artifact ;-)
> 
> Perl 'any valid perl code'
> 
> Can be put in the config file, as a single line ;-)

Neat, I didn't know that >> docs?

>> probably start a new section for common issues or such?
> 
> 
> I was thinking about adding it to the PerlSection section, in 
> NOTES/CAVEATS ?

+1, but there is no need to scream :) Notes is fine :)

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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


Re: 1;

Posted by Stas Bekman <st...@stason.org>.
Philippe M. Chiasson wrote:

>> what's 'Perl 1'?
> 
> 
> The shortest way I can think of kicking an early interpreter startup in 
> httpd.conf ;-)

Is that a new directive? I thought you could use Perl only inside <>

>>> Anybody disagrees strongly ?
>>
>>
>>
>> Otherwise +1
> 
> 
> Cool, so expect the todo entry to transform to a doc patch over the weekend

probably start a new section for common issues or such?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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


Re: 1;

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Stas Bekman wrote:

> Philippe M. Chiasson wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> If you look in todo/release, you'll find this entry :
>>
>> * <Perl> sections:
>> ~  A few issues with <Perl> sections:
>> ~
>> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=106074969831522&w=2
>> ~  owner: gozer
>>
>> The strictness issue has been dealt with a while ago. The only
>> remaining issue is that
>> cool one-line construct.
>>
>> After poking inside httpd's configuration parser for a while, and
>> discovering that :
>> <Location /foo>SetHandler perl-script</Location>
>>
>> doesn't work either because the entire configuration parser is
>> line-driven.
>>
>> I don't think there is an easy solution to get this one to work as
>> we'd like.
>>
>> So, I suggest getting rid of this todo item and documenting that
>> <Perl>1;</Perl>
>> doesn't work, just use
>>
>> httpd.conf:
>> ~  Perl 1
>> ~  Perl use Coy; die
>
>
> what's 'Perl 1'?

The shortest way I can think of kicking an early interpreter startup in 
httpd.conf ;-)

>
>> Anybody disagrees strongly ?
>
>
> Otherwise +1

Cool, so expect the todo entry to transform to a doc patch over the weekend


Re: 1;

Posted by Stas Bekman <st...@stason.org>.
Philippe M. Chiasson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> If you look in todo/release, you'll find this entry :
> 
> * <Perl> sections:
> ~  A few issues with <Perl> sections:
> ~
> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=106074969831522&w=2
> ~  owner: gozer
> 
> The strictness issue has been dealt with a while ago. The only
> remaining issue is that
> cool one-line construct.
> 
> After poking inside httpd's configuration parser for a while, and
> discovering that :
> <Location /foo>SetHandler perl-script</Location>
> 
> doesn't work either because the entire configuration parser is
> line-driven.
> 
> I don't think there is an easy solution to get this one to work as
> we'd like.
> 
> So, I suggest getting rid of this todo item and documenting that
> <Perl>1;</Perl>
> doesn't work, just use
> 
> httpd.conf:
> ~  Perl 1
> ~  Perl use Coy; die

what's 'Perl 1'?

> Anybody disagrees strongly ?

Otherwise +1

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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