Paul Johnson wrote:
> It probably sits better with something like:
>
>   $var = 10 unless defined $var;
>
> But 5.10 will (probably) introducde the // operator which will allow
> you to say:
>
>   $var //= 10;

Where do you get this insider information Paul? And what's this operator
going to do? Presumably there's an operator $c = $a // $b as well. I'm
surprised if it's just (defined $a ? $a : $b).

Interested, of Tunbridge Wells.




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

Reply via email to