good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Subroutine & For loopby Anonymous Monk |
on Jul 25, 2014 at 10:08 UTC ( [id://1095017]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I would like to call a subroutine repeatedly based on a condition from a for loop and each time pass different parameters. My code is calling the subroutine only the first time. I am not sure which is the correct format to call a subroutine from a for loop. Please help. Thank you!
Back to
Seekers of Perl Wisdom
|
|