Welcome to the Monastery | |
PerlMonks |
Using splitby nite_man (Deacon) |
on Mar 07, 2003 at 08:58 UTC ( [id://241089]=perlquestion: print w/replies, xml ) | Need Help?? |
nite_man has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks,
Maybe somebody knows how do write a following code without a temporary variable @tmp:
This code doesn't work because split in the scalar context returns a size of array. Of course, I can use regular expressions, I know it.
Back to
Seekers of Perl Wisdom
|
|