On Fri, Jan 04, 2002 at 04:53:20PM -0800, Paul Makepeace wrote:
> $ perl -wle 'use strict; sub id {my $id if 0; $id++} print id,id,id'
> 012
> $
> 
> This idiom doesn't appear in perlsub. Anyone know about it?

Yes.

I assimilated it through reading p5p, but don't really use it.  

It's intentional I think, but possibly in a very after the fact "hey
this implementation feature exists, but lets not toss it because it's
useful" way.

-- 
Richard Clamp <[EMAIL PROTECTED]>

Reply via email to