Re: a open function error stops program

2010-01-29 Thread Carl Mäsak
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

a open function error stops program

2010-01-29 Thread Gerd Pokorra
There is a problem with the Rakudo "open" function. A else tree will never be executed if the open fails. Here is the output from executing the code snippet: [gz...@vgerd2 IO]$ ./open_report.p6 Unable to open filehandle from path '/sdfasfda/asfda/asdfa/Ausgabe.txt' in Main (file , line ) [gz...@v