in reply to Re^3: What about if (my $var = foo()) { ... }
in thread What about if (my $var = foo()) { ... }
Regarding an explanation as to why formal parameters to a block are cleaner, it is similar to subs with and without signatures. If that still doesn't make any sense, I will try again when I am well rested.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: What about if (my $var = foo()) { ... }
by dsheroh (Monsignor) on Dec 29, 2007 at 18:46 UTC |