On 1/1/21 6:32 AM, David Santiago wrote:
say $_ for {0.1+$_}...^5

Hi David,

Thank you!

Is there a way to do this without the finger wagging?

say $_ for {0.1+$_}...^2
Use of uninitialized value of type Any in numeric context
  in block <unit> at <unknown file> line 1

0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9


> for {0.1+$_}...^2 {print "$_\n";}
Use of uninitialized value of type Any in numeric context
  in block <unit> at <unknown file> line 1

0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9



And what is going wrong here?

for {0.3+$_}...^2 {print "$_\n";}
...
41076
41076.3
41076.6
41076.9
41077.2
41077.5
41077.8
41078.1
41078.4
41078.7
41079
41079.3
41079.6
41079.9
41080.2
41080.5
41080.8
41081.1
41081.4
41081.7
...



Many thanks,
-T


Reply via email to