tart has asked for the wisdom of the Perl Monks concerning the following question:
Cheers!!!my $val; $val = return1(); if ($val) { $val .= return2(); } else { $val = return2(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: append return if defined else not
by ikegami (Patriarch) on Jul 14, 2010 at 00:10 UTC | |
|
Re: append return if defined else not (or)
by tye (Sage) on Jul 14, 2010 at 04:54 UTC | |
|
Re: append return if defined else not
by jethro (Monsignor) on Jul 14, 2010 at 00:00 UTC | |
|
Re: append return if defined else not
by AnomalousMonk (Archbishop) on Jul 14, 2010 at 22:24 UTC |