Re: goto return ?
JupiterHost.Net wrote:
I'm trying to figure this one out and am at the brick wall with trying /docs
in a function I'd like to replace this kind of code:
if($whatever) {
## do some stuff
return @stuff;
}
# we got this far so keep on moving
with
do_some_stuff_and_return( @stuff ) if $whatever;
AFAIK you can't achive this sort of thing in Perl5 without source
filters.
Until the advent of Perl6 (with macros) why not simply:
return do_some_stuff( @stuff ) if $whatever;
.
Relevant Pages
- Re: Excel 2002 Filter
... 'Excel Filters -- AutoFilter Programming' ... Debra Dalgleish has some notes how to implement macros here: ... you can hide whichever dropdown arrows you ... (microsoft.public.excel.misc) - Re: Creating separate reports for each Project Manager
... The filters are not what I need. ... are automatically generated when a row is added to the main sheet. ... I am interested in going the macros route since I don't have tons of time to ... >> I would like to make new worksheets for each project manager with all ... (microsoft.public.excel.misc) - Re: Excel 2002 Filter
... The range to be filtered has to be contiguous in any version of excel. ... The data within the cells in that range can be as empty as you want (empty rows ... 'Excel Filters -- AutoFilter Programming' ... Debra Dalgleish has some notes how to implement macros here: ... (microsoft.public.excel.misc) - Searching In Text Box
... I've had a few users of mine requested a simpler search method on ... At the moment I've built querys and macros to make filters between ... (microsoft.public.access.formscoding) - Re: multiple filters
... mainly work with macros. ... is the code necessary to achieve multiple filters in ... > a selection in another combo my first selection is cancelled. ... > how can i apply multiple filters? ... (microsoft.public.access.forms) |
|