use Perl6::Form; $text = <{width=>72, length=>5, footer=>"====================\n"}, layout=>'across', }, "{:[{*}]} {:[{*}]} {:[{*}]}", $text, $text, $text, "{II{*}II}", "The End\nis nigh\nunto\nthis line\nright here" ; pos $text = 0; print "\nBalanced (default):\n"; print form {page=>{width=>72, length=>5, footer=>"====================\n"}}, "{:[{*}]} {:[{*}]} {:[{*}]}", $text, $text, $text, "{II{*}II}", "The End\nis nigh\nunto\nthis line\nright here" ; pos $text = 0; print "\nDown:\n"; print form {page=>{width=>72, length=>5, footer=>"====================\n"}, layout=>'down', }, "{:[{*}]} {:[{*}]} {:[{*}]}", $text, $text, $text, "{II{*}II}", "The End\nis nigh\nunto\nthis line\nright here" ;