in reply to Filehandles and quote operators

Is there any error message??

This code works:
#! /usr/bin/perl use strict; use warnings; my $file = 'print.test'; open(FILE,">$file") or die $!; print FILE qq{this is a test}; close FILE;