John W. Krahn schreef:
> Bryan Harris wrote:
>> [attribution repaired] John W. Krahn:
>>> for my $number ( 0 .. 100 ) {
>>> print $number * 10, "\n";
>>> }
>>
>> Or if you enjoy perl golf:
>>
>> print map {($_*10)."\n"} 0..100;
>
> You call that golf?
>
> print map$_*10 .$/,0..100;
$\="0$/";print for 0..100;
print$_*10 .$/for 0..100;
print"${_}0$/"for 0..100;
print map"$_$|$/",0..100;
$\=$,="0$/";print 0..100;
print$_."0$/"for 0..100;
print"$_$|$/"for 0..100;
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>