What's probably a better solution than adding support for database statement handles would be the more generic approach of adding support for iterators...
I definitely like the idea of that, although I'm not likely going to write a CPAN module for this right now, so I don't think I would implement it with quite that much generality.
The problem I see is that the popup is generated entirely in memory (and returned to be printed), so you're only going to save a fraction of the memory you could save.
Actually, won't it save me about 2/3 of the memory? I'm passing in an arrayref and a hashref anyway and generating another data structure. If I never have to pass in the first two, won't that save me on the memory that would be used for their storage?
perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79 +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'
In reply to Re^2: Passing a sth to CGI form element methods
by agianni
in thread Passing a sth to CGI form element methods
by agianni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |