To print the contents of $skeleton to a file whose name is in
$new_file, what should the code look like? I cannot find an example in
the tests.

Printing to STDOUT (by default) works; every attempt to write to a
named file has failed. Is this another Not Yet Implemented?

Executing this code:

my $skeleton = "bones\n";
my $new_file = "x_file";
my $handle   = open($new_file, :w);
$handle.print $skeleton;

produces

===SORRY!===
Confused at line 4, near "$handle.pr"

Reply via email to