Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: $threads->join() only returns one argument??? BUG?by BrowserUk (Patriarch) |
on Jun 11, 2003 at 22:33 UTC ( [id://265212]=note: print w/replies, xml ) | Need Help?? |
I'm not sure if it counts as a bug, but I encountered the same thing and couldn't find anything in the docs that suggested it should or shouldn't be able to return a list. The simplest solution I came up with was join the list on the return and split it at the other end.
Usual caveats about choice of seperator apply. $; seems as good a choice as any for most things. Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
In Section
Seekers of Perl Wisdom
|
|