Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • So if I multiply it to 1000 to eliminate the point, I can get the exact result, can't I? Commented Jul 9, 2014 at 11:18
  • @terdon: It's not syntax error, just a quick typing for example :) Commented Jul 9, 2014 at 11:18
  • Wow, you're right! I had never seen that before. So the }{ acts like a {}END{}? Commented Jul 9, 2014 at 11:20
  • @terdon: yes, because -n cause you already in a while loop. So it's really while{...}{...} Commented Jul 9, 2014 at 11:21
  • That I understood, it was the lone }{ instead of {}{} that confused me. Commented Jul 9, 2014 at 11:25