This is what for(;;) and container objects are for.
for ( my $notes = My::Dashboard::Note->list, my $note = $notes->first; $note; $note = $notes->next ) { print $note->headline, $note->created, $note->body; }
In reply to Re: An object replacing itself
by diotalevi
in thread An object replacing itself
by ryantate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |