in reply to Re^6: perlform ^* variable field length
in thread perlform ^* variable field length
However using variable field width gives "Out of memory", I do not know why.use warnings; use strict; my @row = ( 'col1:line1 col1:line2', 'col2:line1', 'col3:line1', 'col4:line1', 'col5:line1 col5:line2', 'col6:line1 col6:line2 col6:line3 col6:line4' ); format STDOUT = ^>>>>>>>>|^>>>>>>>>|^>>>>>>>>|^>>>>>>>>|^>>>>>>>>|^>>>>>>>>|~~ @row . write;
format STDOUT = ^*|^*|^*|^*|^*|^*|~~ @row .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: perlform ^* variable field length
by Anonymous Monk on Apr 28, 2015 at 09:51 UTC | |
|
Re^8: perlform ^* variable field length
by Anonymous Monk on Apr 28, 2015 at 10:41 UTC |