No such thing as a small change | |
PerlMonks |
passing $_ to my functionby arc_of_descent (Hermit) |
on Sep 30, 2002 at 11:55 UTC ( [id://201685]=perlquestion: print w/replies, xml ) | Need Help?? |
arc_of_descent has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks How do i write a function which accepts $_ (of a loop), as its argument if none is passed? Something like what the builtin print function does. I have the foll: I would like to eliminate the use of $_ in the loop. Thanx -- arc_of_descent
Back to
Seekers of Perl Wisdom
|
|