in reply to 'block' idiom needed
You've just asked for 'return', haven't you?
sub block { my $setting = 0; { return $setting = 1; } }
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 'block' idiom needed
by nmerriweather (Friar) on Jan 07, 2007 at 00:29 UTC | |
by diotalevi (Canon) on Jan 07, 2007 at 06:44 UTC | |
by nmerriweather (Friar) on Jan 07, 2007 at 20:32 UTC |