The :fill option gets a brief mention on page 10, but I didn't spot it anywhere else or being used in an example:
There is also a general C<:fill> option that sets the default sequence
for any filling that isn't otherwise specified.
That suggests there's a hierarchy of options like this:
:fill :hfill :lfill :rfill :vfill :tfill :bfill
Correct.
With the most-specific option applying being used on an edge. But horizontal and vertical filling is so different that I'm struggling to think of what use C<:fill> could have.
Is my interpretation right? And if so, has anybody got an example of using it?
use Perl6::Form;
$floor_plan = <<EOPLAN; ################################ # # # # ######################### # ## # # # # # # # ### ## ######## # # ##### ### # ## # # # # # # ## ## # # # ### ##### ############## #### # # # ################################ EOPLAN
$legend = <<'EOLEGEND'; # - Wall * - Gold @ - You ^ - Trap @ - Stairs $ - Bank & - Statue ! - Potion ( - Sword { - Bow = - Door | = Wand EOLEGEND
print form {page=>{length=>24}, fill=>'#'}, '{=]]]]{*}[[[[=}## {="{*}"=} ##', $floor_plan, {hfill=>' '}, $legend;