> Linda W wrote:
>
>> Why should this yield an error:
>>
>> @_ ? #if (@_) {
>> ($M, $tM)=(shift, 100*$H+$M)
>> : #}else{
>> ($H, $M) = (int $H/100, $tM % 60);
>> #}
>>
>
how about: because if it didn't yield an error, when @_ is non-empty
($M,$tM) would get assigned to twice, which is surely not what the coder
wants.
Thread Previous
|
Thread Next