in reply to Double your return!!!!
stuff. &askFor simpy pops up an entry form that offers a 'cancel', which MUST cancel the caller (&bar), so for me a double-return would be great. (a significant portion of my code is starting to be this dumb "return if .." thingsub bar { $foo = askFor( title => 'Name:' ); return undef if not defined $foo; $baz = askFor( title => 'Cigarettes:' ); return undef if not defined $baz; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Double your return!!!!
by Aristotle (Chancellor) on Feb 19, 2003 at 07:01 UTC | |
by schweini (Friar) on Feb 19, 2003 at 08:32 UTC | |
by Aristotle (Chancellor) on Feb 19, 2003 at 11:23 UTC | |
by schweini (Friar) on Feb 20, 2003 at 16:55 UTC | |
|
Re: Re: Double your return!!!!
by pfaut (Priest) on Feb 19, 2003 at 15:01 UTC | |
by bsb (Priest) on Feb 20, 2003 at 07:46 UTC | |
by adrianh (Chancellor) on Feb 20, 2003 at 12:13 UTC |