in reply to formline, undefined format STDOUT
formline( "@<< @<< @<<", '1', '2', '2' ); print "$^A\n";
or specify an empty format before:
format = . formline( "@<< @<< @<<", '1', '2', '2' ); write;
Use a higher level format:
format = @<< @<< @<< 1, 2, 2 . write;
Or, switch to plain sprintf:
say join ' ', map sprintf('%-3d', $_), 1, 2, 2;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: formline, undefined format STDOUT
by Anonymous Monk on Apr 20, 2015 at 14:47 UTC | |
by choroba (Cardinal) on Apr 20, 2015 at 15:17 UTC | |
by Anonymous Monk on Apr 20, 2015 at 17:23 UTC |