go ahead... be a heretic | |
PerlMonks |
Re: Push and list contextby Errto (Vicar) |
on Mar 14, 2005 at 23:34 UTC ( [id://439498]=note: print w/replies, xml ) | Need Help?? |
I'm not sure whether your main issue is print isn't adding spaces when you print a list, or that what you really want to do is push onto an array a string consisting of another list joined with spaces. If the latter, Mugatu is right. If the former, then you can do either
or Update: forgot the reverse
In Section
Seekers of Perl Wisdom
|
|