If the Perl in question is at least 5.10, your solution could use shift(@f) // '', shift(@f) // '', shift(@f) // '' to duplicate the original output.
In reply to Re^2: Avoid warnings while formatting with repeated format lines
by Anonymous Monk
in thread Avoid warnings while formatting with repeated format lines
by hexcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |