![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^5: pack and unpack multiple arrays with one common repeat prefixby kcott (Archbishop) |
on Jun 16, 2017 at 04:52 UTC ( #1192906=note: print w/replies, xml ) | Need Help?? |
G'day hexcoder, Perhaps, instead of a table of just templates, you could use a table of coderefs whose functionality includes preprocessing, unpacking, formatting, and anything else you need. Here's a highly contrived and primitive example just to show the technique.
Output:
I don't know how useful that might be; however, your general description suggested this approach. — Ken
In Section
Seekers of Perl Wisdom
|
|