print for(
'',
'Welcome to the 15 puzzle!',
'',
'Use an arrow key to move a block into the empty position.',
"You're trying to reach the position:",
' 01 02 03',
'04 05 06 07',
'08 09 10 11',
'12 13 14 15',
'',
'^C to kill.',
''
);
That would probably be better as a here doc (a single string) than a list of strings:
print <<TEXT;
Welcome to the 15 puzzle!
Use an arrow key to move a block into the empty position.
You're trying to reach the position:
01 02 03
04 05 06 07
08 09 10 11
12 13 14 15
^C to kill.
TEXT