Re: Perl threads - capturing value returned from sub
- From: anno4000@xxxxxxxxxxxxxxxxxxxxxx
- Date: 27 Feb 2007 22:01:01 GMT
Eric <ecarlson@xxxxxxxxxx> wrote in comp.lang.perl.misc:
On Feb 26, 5:03 pm, "Eric" <ecarl...@xxxxxxxxxx> wrote:
Cancel this one; I found the answer, which was to just assign a
variable to the join:
my $result = $t->join;
What you really do is, you assign the value of ->join to a variable.
This may sound like nit-picking, but taken literally (not just as
a slip of the fingers) your description would reveal a fundamental
misunderstanding of the meaning of "assign" in this usage.
Anno
.
- References:
- Prev by Date: Re: Choosing the path based on the system "uname" command
- Next by Date: Re: Choosing the path based on the system "uname" command
- Previous by thread: Re: Perl threads - capturing value returned from sub
- Next by thread: FAQ 6.5 How do I substitute case insensitively on the LHS while preserving case on the RHS?
- Index(es):
Relevant Pages
|