Perl Monk, Perl Meditation | |
PerlMonks |
precedence: two functions on one lineby kingman (Scribe) |
on Jul 27, 2001 at 18:29 UTC ( [id://100312]=perlquestion: print w/replies, xml ) | Need Help?? |
kingman has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to fill @files with:
here's the code: Splitting works fine
My Question: Should I be trying to do this by splitting and joining at once or is it better to do it in two separate calls? I guess I need to parenthesize things? p220 of the Camel book 2nd ed. has this line:
Can I do something similar? This part doesn't work yet:
Thanks! Edit ar0n 2001-07-27 -- fixed formatting
Back to
Seekers of Perl Wisdom
|
|