$input=2 for($i=0;$i<2;$i++) { for($j=0;$j<18;$j++) {} } [download]
In reply to How to create loop in perl dynamically by adithi