Gerd (>):
> There is a problem with the Rakudo "open" function. [It dies on failure.]

By my understanding, that's one of those known differences between
Rakudo and the spec. (The spec isn't very explicit about whether open
should die or not, but S03 contains the line

  my $*OUT ::= open($file, :w) || die $!;

which would be quite redundant if &open died on failure. Also, when
the spec isn't explicit about things from Perl 5, the assumption is
that they work the same.)

The perl.org RT has been down for a few days now, so I can't confirm
that there's a ticket in there about this. Anyway, compared to all the
other things we Rakudo users have to work around to make a program
run, this one is quite mild. :-P Just put your &open call in a 'try'
block.

// Carl

Reply via email to