On 16 Apr 2002, Chas Owens wrote:
> sub has_a_static_var {
>       #declare a "static" variable
>       my $static if 0;
>
>       if (defined $static) { $static++   }
>       else                 { $static = 0 }
>
>       #do stuff
> }

May I ask why you do this if-else thing here? It seems superflous to
me.

        Elias

-- 
"There are people who don't like capitalism, and there are people who don't like PCs,
but there's no one who likes the PC who doesn't like Microsoft."
 -- Bill Gates


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

Reply via email to