Paul wrote:

> 
> --- david <[EMAIL PROTECTED]> wrote:
>> let me put it this way. do you know the difference of:
>>   if(0){ my $x = 1; }
>> and:
>>   my $x = 1 if(0);
> 
> Several. The primary *difference* I see is that in your version, the
> scome of $x is limited to the block of the if statement, where in mine,
> it would be theoretically scoped to the enclosing block, except that
> niether would actually get executed. :)
> 
> For either, the optimizer would scrub that code right out of the
> program, right?

in general, i don't know. in this particular case, it probably should.

> 
> My problem wasn't with the code. It was with the wording in the
> documentation. If there is something I'm missing, I want to get it. If
> not, then I am concerned that the wording will confuse others as it has
> me.
> 

absolutely right.

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to