--- Paul Johnson <[EMAIL PROTECTED]> wrote:

> On Fri, Oct 20, 2006 at 08:11:36AM -0500,
> [EMAIL PROTECTED] wrote:
> 
> > Computer  software  consists of  only  two 
> components: ones  and
> > zeros, in roughly equal proportions.   All that is
> required is to
> > sort them into the correct order.
> 
> Andrew Preview: You're playing all the wrong notes.
> Eric Morecambe: I am playing all the right notes...
> but not necessarily
>                 in the right order.
> 
> But, without thinking too hard about it, I would
> have expected quite a
> few more zeros than ones in the average program.
> 
> Hmmm.  Is it the weekend yet?
> 
> -- 
> Paul Johnson - [EMAIL PROTECTED]


I am no Perl guru, but like to think of my self as
good at programming and enjoy it, but I am happy with
the clarity of perlop:

Note that just as in C, Perl doesn't define when the
variable is incre-
mented or decremented. You just know it will be done
sometime before or
after the value is returned. This also means that
modifying a variable
twice in the same statement will lead to undefined
behaviour.  Avoid
statements like:

    $i = $i ++;
    print ++ $i + $i ++;

So since its documented and not recommended and
considered bad coding I would say its not a bug.
However since the only thing higher that ++ or -- is 

left terms and list operators (leftward)
left ->

and we tested () which had no result we wanted to see,
I guess we have to ask ourselves again what defines a
bug?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to