http://www.perlmonks.org?node_id=995765


in reply to How to create loop in perl dynamically

adithi:

for ($i=0; $i<$input; $i++) { ... }

...roboticus

When your only tool is a hammer, all problems look like your thumb.