.use strict; use warnings; my $boss_first_name = "Penelope"; my $boss_last_name = "Creighton-Ward"; my $butler_first_name = "Aloysius"; my $butler_last_name = "Parker"; my $field_width = 15; print '|', ' 'x$field_width, '|', ' 'x$field_width, "|\n";
How can I change this program so it will print out a line containing the boss's first and last names in the first field and the butler's first and last names in the second field? I need the output to look like this
| | | |Penelope |Aloysius Parker| |Creighton-Ward | |
In reply to Print in box syntax by dhendrix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |