The task is to create a new file called "TAPE.FILE" of any size on Magnetic Tape.

my $tape = open "/dev/tape", :w or die "Can't open tape: $!";
$tape.say: "I am a tape file now, or hope to be soon.";
$tape.close;