Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

Apache::SizeLimit + solaris Update 10

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


adam.prime at utoronto

Mar 5, 2009, 10:46 PM

Post #1 of 16 (1601 views)
Permalink
Apache::SizeLimit + solaris Update 10

There was a thread today on the users list where a guy was running into
problems with SizeLimit on Solaris update 10 [1]. Attached are 2
patches, one against the version of Apache2::SizeLimit in the 2.04
distribution, and the other against the version in SVN. the SVN version
still tests fine on linux, but I can't test it on solaris at home, and
the solaris boxes I do have access to don't have update 10 on them.

I'm also not sure if what I did is acceptable or not, but it should
work, I think. I also didn't make the change in the 1.3 tree.

Adam

[1] http://marc.info/?t=123630641100001&r=1&w=2
Attachments: SizeLimit.patch (0.44 KB)
  svn.SizeLimit.patch (0.54 KB)


adam.prime at utoronto

Mar 6, 2009, 5:55 AM

Post #2 of 16 (1537 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 [In reply to]

As soon as a got in bed last night i realized the conditional logic in
the original patches was wrong, corrected versions are attached.

Adam


Adam Prime wrote:
> There was a thread today on the users list where a guy was running into
> problems with SizeLimit on Solaris update 10 [1]. Attached are 2
> patches, one against the version of Apache2::SizeLimit in the 2.04
> distribution, and the other against the version in SVN. the SVN version
> still tests fine on linux, but I can't test it on solaris at home, and
> the solaris boxes I do have access to don't have update 10 on them.
>
> I'm also not sure if what I did is acceptable or not, but it should
> work, I think. I also didn't make the change in the 1.3 tree.
>
> Adam
>
> [1] http://marc.info/?t=123630641100001&r=1&w=2
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
> For additional commands, e-mail: dev-help[at]perl.apache.org
Attachments: svn.SizeLimit.patch (0.50 KB)
  SizeLimit.patch (0.46 KB)


adam.prime at utoronto

Mar 6, 2009, 12:03 PM

Post #3 of 16 (1534 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 [In reply to]

Third time's a charm right?

Patches revised again. The svn patch has now actually been tested on
solaris with osvers of 2.10, and all the tests pass.

waiting 60 seconds for server to start: ok (waited 2 secs)
server localhost:8529 started
t/apache/all......................skipped: (no reason given)
t/apache2/basic...................ok
t/apache2/check_n_requests2.......ok
t/apache2/deprecated..............ok
t/apache2/zzz_check_n_requests....ok
t/pod.............................ok
All tests successful.
Files=6, Tests=18, 8 wallclock secs ( 0.04 usr 0.04 sys + 1.50 cusr
0.31 csys = 1.89 CPU)
Result: PASS

# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.10, archname=i86pc-solaris
uname='sunos fxbuild-i386 5.10 generic_127112-11 i86pc i386 i86pc
solaris '
config_args='-Dcc=gcc -Dprefix=/oanda/system'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef

Adam


Adam Prime wrote:
> As soon as a got in bed last night i realized the conditional logic in
> the original patches was wrong, corrected versions are attached.
>
> Adam
>
>
> Adam Prime wrote:
>> There was a thread today on the users list where a guy was running into
>> problems with SizeLimit on Solaris update 10 [1]. Attached are 2
>> patches, one against the version of Apache2::SizeLimit in the 2.04
>> distribution, and the other against the version in SVN. the SVN version
>> still tests fine on linux, but I can't test it on solaris at home, and
>> the solaris boxes I do have access to don't have update 10 on them.
>>
>> I'm also not sure if what I did is acceptable or not, but it should
>> work, I think. I also didn't make the change in the 1.3 tree.
>>
>> Adam
>>
>> [1] http://marc.info/?t=123630641100001&r=1&w=2
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
>> For additional commands, e-mail: dev-help[at]perl.apache.org
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
> For additional commands, e-mail: dev-help[at]perl.apache.org
Attachments: svn.SizeLimit.patch (0.50 KB)
  SizeLimit.patch (0.46 KB)


adam.prime at utoronto

Mar 18, 2009, 7:14 PM

Post #4 of 16 (1468 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 [In reply to]

Fred suggested in resend these patches relative to the root of the
distributions, so here they are. SizeLimit.patch is against the version
of Apache2::SizeLimit in mod_perl 2.0.4 and generated via git diff.
svn.SizeLimit.patch is against the version of SizeLimit in svn, and was
generated with svn diff.

If there is anything else i can do, let me know. If there is another
way i should be submitting this stuff, let me know.

Adam
Attachments: SizeLimit.patch (0.51 KB)
  svn.SizeLimit.patch (0.56 KB)


fred at redhotpenguin

Mar 19, 2009, 1:14 AM

Post #5 of 16 (1462 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 [In reply to]

On Wed, Mar 18, 2009 at 7:14 PM, Adam Prime <adam.prime[at]utoronto.ca> wrote:
> Fred suggested in resend these patches relative to the root of the
> distributions, so here they are.  SizeLimit.patch is against the version
> of Apache2::SizeLimit in mod_perl 2.0.4 and generated via git diff.
> svn.SizeLimit.patch is against the version of SizeLimit in svn, and was
> generated with svn diff.

This git diff doesn't match what I have in svn trunk for
Apache2/SizeLimit.pm, there is no SOLARIS constant anywhere that I can
find, I think that you may be a few versions behind. Here's svn diff
applied to your second part of the patch. I'd like to see the
$major/$minor logic use a couple of more parentheses to spell out
exactly what it is doing without having to worry about whether the
conditional parser in my head is interpreting this conditional
correctly.

Index: lib/Apache/SizeLimit/Core.pm
===================================================================
--- lib/Apache/SizeLimit/Core.pm (revision 755867)
+++ lib/Apache/SizeLimit/Core.pm (working copy)
@@ -131,7 +131,11 @@
}

BEGIN {
- if ($Config{'osname'} eq 'solaris' && $Config{'osvers'} >= 2.6 ) {
+ my ($major,$minor) = split('.',$Config{'osvers'});
+
+ if ($Config{'osname'} eq 'solaris' &&
+ ($major > 2 || $major == 2 && $minor >= 6)) {
+
*_platform_check_size = \&_solaris_2_6_size_check;
*_platform_getppid = \&_perl_getppid;



>
> If there is anything else i can do, let me know.  If there is another
> way i should be submitting this stuff, let me know.
>
> Adam
>
> diff --git a/lib/Apache2/SizeLimit.pm b/lib/Apache2/SizeLimit.pm
> index 031640e..702ff2a 100644
> --- a/lib/Apache2/SizeLimit.pm
> +++ b/lib/Apache2/SizeLimit.pm
> @@ -52,7 +52,8 @@ BEGIN {
>         if Apache2::MPM->is_threaded();
>
>     # decide at compile time how to check for a process' memory size.
> -    if (SOLARIS && $Config{'osvers'} >= 2.6) {
> +    my ($major,$minor) = split('.',$Config{'osvers'});
> +    if (SOLARIS && ($major > 2 || $major == 2 && $minor >= 6)) {
>
>         $HOW_BIG_IS_IT = \&solaris_2_6_size_check;
>
>
> Index: lib/Apache/SizeLimit/Core.pm
> ===================================================================
> --- lib/Apache/SizeLimit/Core.pm        (revision 750777)
> +++ lib/Apache/SizeLimit/Core.pm        (working copy)
> @@ -131,7 +131,8 @@
>  }
>
>  BEGIN {
> -    if ($Config{'osname'} eq 'solaris' && $Config{'osvers'} >= 2.6 ) {
> +    my ($major,$minor) = split('.',$Config{'osvers'});
> +    if ($Config{'osname'} eq 'solaris' && ($major > 2 || $major == 2 && $minor >= 6)) {
>         *_platform_check_size   = \&_solaris_2_6_size_check;
>         *_platform_getppid = \&_perl_getppid;
>     }
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
> For additional commands, e-mail: dev-help[at]perl.apache.org
>

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


adam.prime at utoronto

Mar 19, 2009, 6:03 AM

Post #6 of 16 (1461 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 [In reply to]

Fred Moyer wrote:
> On Wed, Mar 18, 2009 at 7:14 PM, Adam Prime <adam.prime[at]utoronto.ca> wrote:
>> Fred suggested in resend these patches relative to the root of the
>> distributions, so here they are. SizeLimit.patch is against the version
>> of Apache2::SizeLimit in mod_perl 2.0.4 and generated via git diff.
>> svn.SizeLimit.patch is against the version of SizeLimit in svn, and was
>> generated with svn diff.
>
> This git diff doesn't match what I have in svn trunk for
> Apache2/SizeLimit.pm,

Thats because it's against the version in mod_perl 2.0.4, which is
nothing like the version that currently in svn.

> applied to your second part of the patch. I'd like to see the
> $major/$minor logic use a couple of more parentheses to spell out
> exactly what it is doing without having to worry about whether the
> conditional parser in my head is interpreting this conditional
> correctly.

Do you want me to resubmit it like :

(($major > 2) || ($major == 2 && $minor >= 6))

I'm guessing that's what you mean.

Adam


> Index: lib/Apache/SizeLimit/Core.pm
> ===================================================================
> --- lib/Apache/SizeLimit/Core.pm (revision 755867)
> +++ lib/Apache/SizeLimit/Core.pm (working copy)
> @@ -131,7 +131,11 @@
> }
>
> BEGIN {
> - if ($Config{'osname'} eq 'solaris' && $Config{'osvers'} >= 2.6 ) {
> + my ($major,$minor) = split('.',$Config{'osvers'});
> +
> + if ($Config{'osname'} eq 'solaris' &&
> + ($major > 2 || $major == 2 && $minor >= 6)) {
> +
> *_platform_check_size = \&_solaris_2_6_size_check;
> *_platform_getppid = \&_perl_getppid;
>
>
>

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


Petr.Sumbera at Sun

Oct 22, 2009, 4:01 AM

Post #7 of 16 (612 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 [In reply to]

What is status of this issue? I don't see any related change in svn.

Thanks,

Petr


Adam Prime wrote:
>
> Fred Moyer wrote:
>> On Wed, Mar 18, 2009 at 7:14 PM, Adam Prime <adam.prime[at]utoronto.ca>
>> wrote:
>>> Fred suggested in resend these patches relative to the root of the
>>> distributions, so here they are. SizeLimit.patch is against the version
>>> of Apache2::SizeLimit in mod_perl 2.0.4 and generated via git diff.
>>> svn.SizeLimit.patch is against the version of SizeLimit in svn, and was
>>> generated with svn diff.
>>
>> This git diff doesn't match what I have in svn trunk for
>> Apache2/SizeLimit.pm,
>
> Thats because it's against the version in mod_perl 2.0.4, which is
> nothing like the version that currently in svn.
>
>> applied to your second part of the patch. I'd like to see the
>> $major/$minor logic use a couple of more parentheses to spell out
>> exactly what it is doing without having to worry about whether the
>> conditional parser in my head is interpreting this conditional
>> correctly.
>
> Do you want me to resubmit it like :
>
> (($major > 2) || ($major == 2 && $minor >= 6))
>
> I'm guessing that's what you mean.
>
> Adam
>
>
>> Index: lib/Apache/SizeLimit/Core.pm
>> ===================================================================
>> --- lib/Apache/SizeLimit/Core.pm (revision 755867)
>> +++ lib/Apache/SizeLimit/Core.pm (working copy)
>> @@ -131,7 +131,11 @@
>> }
>>
>> BEGIN {
>> - if ($Config{'osname'} eq 'solaris' && $Config{'osvers'} >= 2.6 ) {
>> + my ($major,$minor) = split('.',$Config{'osvers'});
>> +
>> + if ($Config{'osname'} eq 'solaris' &&
>> + ($major > 2 || $major == 2 && $minor >= 6)) {
>> +
>> *_platform_check_size = \&_solaris_2_6_size_check;
>> *_platform_getppid = \&_perl_getppid;
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
> For additional commands, e-mail: dev-help[at]perl.apache.org
>
>
>

--
View this message in context: http://www.nabble.com/Apache%3A%3ASizeLimit-%2B-solaris-Update-10-tp22367060p26008045.html
Sent from the mod_perl - Dev mailing list archive at Nabble.com.


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


adam.prime at utoronto

Oct 22, 2009, 11:28 AM

Post #8 of 16 (608 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 [In reply to]

Petr Sumbera wrote:
> What is status of this issue? I don't see any related change in svn.
>
> Thanks,
>
> Petr

No one every replied to that last question, and nothing has happened
since then by the looks of things.

Adam

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


Petr.Sumbera at Sun

Nov 10, 2009, 7:04 AM

Post #9 of 16 (421 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

Hi,

can someone please reevaluate and commit attached patch? I would love to see
it in mod_perl 2.0.5 and 1.32 when they are released..

Thanks,

Petr

http://old.nabble.com/file/p26284847/solaris.diff solaris.diff
--
View this message in context: http://old.nabble.com/Apache%3A%3ASizeLimit-%2B-solaris-Update-10-tp22367060p26284847.html
Sent from the mod_perl - Dev mailing list archive at Nabble.com.


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


adam.prime at utoronto

Nov 11, 2009, 7:56 PM

Post #10 of 16 (407 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

Petr Sumbera wrote:
> Hi,
>
> can someone please reevaluate and commit attached patch? I would love to see
> it in mod_perl 2.0.5 and 1.32 when they are released..
>
> Thanks,
>
> Petr
>
> http://old.nabble.com/file/p26284847/solaris.diff solaris.diff

If no one objects in the next few day or so i'll commit this (finally)

Adam

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


fred at redhotpenguin

Nov 11, 2009, 10:19 PM

Post #11 of 16 (406 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

On Wed, Nov 11, 2009 at 7:56 PM, Adam Prime <adam.prime[at]utoronto.ca> wrote:
> Petr Sumbera wrote:
>>
>> Hi,
>>
>> can someone please reevaluate and commit attached patch? I would love to
>> see
>> it in mod_perl 2.0.5 and 1.32 when they are released..
>>
>> Thanks,
>>
>> Petr
>>
>> http://old.nabble.com/file/p26284847/solaris.diff solaris.diff
>
> If no one objects in the next few day or so i'll commit this (finally)

Can you post the patch inline to this email so everyone can review it?

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


Petr.Sumbera at Sun

Nov 12, 2009, 12:19 AM

Post #12 of 16 (404 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

Fred Moyer wrote:
> On Wed, Nov 11, 2009 at 7:56 PM, Adam Prime <adam.prime[at]utoronto.ca> wrote:
>> Petr Sumbera wrote:
>>> Hi,
>>>
>>> can someone please reevaluate and commit attached patch? I would love to
>>> see
>>> it in mod_perl 2.0.5 and 1.32 when they are released..
>>>
>>> Thanks,
>>>
>>> Petr
>>>
>>> http://old.nabble.com/file/p26284847/solaris.diff solaris.diff
>> If no one objects in the next few day or so i'll commit this (finally)
>
> Can you post the patch inline to this email so everyone can review it?

Resending (this time directly).

Thanks,

Petr
Attachments: solaris.diff (0.57 KB)


adam.prime at utoronto

Nov 16, 2009, 8:07 AM

Post #13 of 16 (328 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

Any comments?

Petr Sumbera wrote:
> Fred Moyer wrote:
>> On Wed, Nov 11, 2009 at 7:56 PM, Adam Prime <adam.prime[at]utoronto.ca>
>> wrote:
>>> Petr Sumbera wrote:
>>>> Hi,
>>>>
>>>> can someone please reevaluate and commit attached patch? I would
>>>> love to
>>>> see
>>>> it in mod_perl 2.0.5 and 1.32 when they are released..
>>>>
>>>> Thanks,
>>>>
>>>> Petr
>>>>
>>>> http://old.nabble.com/file/p26284847/solaris.diff solaris.diff
>>> If no one objects in the next few day or so i'll commit this (finally)
>>
>> Can you post the patch inline to this email so everyone can review it?
>
> Resending (this time directly).
>
> Thanks,
>
> Petr
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
> For additional commands, e-mail: dev-help[at]perl.apache.org


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


fred at redhotpenguin

Nov 16, 2009, 8:25 AM

Post #14 of 16 (326 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

On Mon, Nov 16, 2009 at 8:07 AM, Adam Prime <adam.prime[at]utoronto.ca> wrote:
> Any comments?

Looks pretty safe. +1

>
> Petr Sumbera wrote:
>>
>> Fred Moyer wrote:
>>>
>>> On Wed, Nov 11, 2009 at 7:56 PM, Adam Prime <adam.prime[at]utoronto.ca>
>>> wrote:
>>>>
>>>> Petr Sumbera wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> can someone please reevaluate and commit attached patch? I would love
>>>>> to
>>>>> see
>>>>> it in mod_perl 2.0.5 and 1.32 when they are released..
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Petr
>>>>>
>>>>> http://old.nabble.com/file/p26284847/solaris.diff solaris.diff
>>>>
>>>> If no one objects in the next few day or so i'll commit this (finally)
>>>
>>> Can you post the patch inline to this email so everyone can review it?
>>
>> Resending (this time directly).
>>
>> Thanks,
>>
>> Petr
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
>> For additional commands, e-mail: dev-help[at]perl.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
> For additional commands, e-mail: dev-help[at]perl.apache.org
>
>

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


fred at redhotpenguin

Nov 16, 2009, 8:27 AM

Post #15 of 16 (326 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

On Mon, Nov 16, 2009 at 8:25 AM, Fred Moyer <fred[at]redhotpenguin.com> wrote:
> On Mon, Nov 16, 2009 at 8:07 AM, Adam Prime <adam.prime[at]utoronto.ca> wrote:
>> Any comments?
>
> Looks pretty safe.  +1

That being said, I think this line:

+ ($major > 2 || ($major == 2 && $minor >= 6))) {

is better written as

(($major > 2) or (($major == 2) && ($minor >= 6))) {

I can't remember the style guide off the top of my head, I have it
plugged into my mod_perl perltidy instance.

>
>>
>> Petr Sumbera wrote:
>>>
>>> Fred Moyer wrote:
>>>>
>>>> On Wed, Nov 11, 2009 at 7:56 PM, Adam Prime <adam.prime[at]utoronto.ca>
>>>> wrote:
>>>>>
>>>>> Petr Sumbera wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> can someone please reevaluate and commit attached patch? I would love
>>>>>> to
>>>>>> see
>>>>>> it in mod_perl 2.0.5 and 1.32 when they are released..
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Petr
>>>>>>
>>>>>> http://old.nabble.com/file/p26284847/solaris.diff solaris.diff
>>>>>
>>>>> If no one objects in the next few day or so i'll commit this (finally)
>>>>
>>>> Can you post the patch inline to this email so everyone can review it?
>>>
>>> Resending (this time directly).
>>>
>>> Thanks,
>>>
>>> Petr
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
>>> For additional commands, e-mail: dev-help[at]perl.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe[at]perl.apache.org
>> For additional commands, e-mail: dev-help[at]perl.apache.org
>>
>>
>

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


adam.prime at utoronto

Nov 16, 2009, 10:47 AM

Post #16 of 16 (324 views)
Permalink
Re: Apache::SizeLimit + solaris Update 10 (new patch) [In reply to]

Fred Moyer wrote:
> On Mon, Nov 16, 2009 at 8:25 AM, Fred Moyer <fred[at]redhotpenguin.com> wrote:
>> On Mon, Nov 16, 2009 at 8:07 AM, Adam Prime <adam.prime[at]utoronto.ca> wrote:
>>> Any comments?
>> Looks pretty safe. +1
>
> That being said, I think this line:
>
> + ($major > 2 || ($major == 2 && $minor >= 6))) {
>
> is better written as
>
> (($major > 2) or (($major == 2) && ($minor >= 6))) {
>
> I can't remember the style guide off the top of my head, I have it
> plugged into my mod_perl perltidy instance.
>

Sure.

Adam

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

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.