ummm, yes, that's correct. Putting it in the "for" loop lets me "last" out of the loop, skipping everything else in the block. ie
for (1){ # if we get results, call "last" which ejects us from the block last if @results = blah('"for"'); # same again last if @results = blah('"for"'); @results = blah('"for'); last; # a final last so we don't loop forever if we don't get any re +sults. }
cheers,
J
In reply to Re: Re^5 Class::DBI and how to wantarray...
by edoc
in thread Class::DBI and how to wantarray...
by edoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |