Or you can consider using Perl6::Form instead of format.[a]
This works for me:
[a] Though I am with LanX on using printf if your initial script doesn't work like you want. Updateuse warnings; use strict; use Perl6::Form; my @systems = qw(SERVER1 SERVER2 SERVER3); foreach my $system (@systems) { print form "Now powering on : {|||||} {||||||}", $system, "[DONE]"; }
In reply to Re: Question about oddities when printing a tab
by 2teez
in thread Question about oddities when printing a tab
by walkingthecow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |