Excellent. I've been looking for fetchall_hashref for ages! This is exactly what I need - I also use a template system (not HTML::Template) and it can do the same trick with arrayrefs of hashrefs (or arrayrefs).$s->ar = $sth->fetchall_arrayref({}); $s->rows = @{$s->ar};
In reply to RE: RE: RE: RE: References of Eternal Peril (while we're on the subject)
by rdw
in thread References of Eternal Peril
by mwp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |