At 05:52 PM 8/30/00 +0100, raptor wrote:
>hi,
>
>We now can say :
>
>$x = 10 if $y > 12;
>
>It will be good if this also work.( i.e. block before if ).
>
>{$x =10; $z =15} if $y > 12;
do {$x = 10; $z = 15} if $y > 12;
works.
>or
>
>$x =10, $z =15 if $y > 12; # 8 click shorter
Should work now. I just tested it in 5.6, but I think that's been valid
since Perl4 or earlier.
>instead of this :
>
>if ($y > 12) {$x =10; $z =15} ;
>
>4 keyboard click shorter - Shift+( and Shift+)
Paucity of keystrokes, while important, shouldn't be the driving force
behind new features. What benefit would the examples you gave really give
except making it easier to play golf?
>=====
>iVAN
>[EMAIL PROTECTED]
>=====