[perl #130418] chdir appears to throw exception immediately

2017-04-24 Thread Zoffix Znet via RT
On Tue, 27 Dec 2016 13:28:19 -0800, comdog wrote: > Using chdir with a non-existent directory appear to throw the > exception > immediately rather than using fail. The docs say > (https://docs.perl6.org/type/IO$COLON$COLONPath#routine_chdir): > > If the directory change is successful then the IO::

[perl #130418] chdir appears to throw exception immediately

2017-04-24 Thread Zoffix Znet via RT
On Tue, 27 Dec 2016 13:28:19 -0800, comdog wrote: > Using chdir with a non-existent directory appear to throw the > exception > immediately rather than using fail. The docs say > (https://docs.perl6.org/type/IO$COLON$COLONPath#routine_chdir): > > If the directory change is successful then the IO::

Re: [perl #130418] chdir appears to throw exception immediately

2016-12-28 Thread Elizabeth Mattijsen
Welcome to the world of the newio branch > On 28 Dec 2016, at 20:03, Zoffix Znet via RT > wrote: > > Some comments from moritz: > https://irclog.perlgeek.de/perl6-dev/2016-12-28#i_13813983 > And a short comment from TimToady on the topic: > https://irclog.perlgeek.de/perl6-dev/2016-12-28#i_13

[perl #130418] chdir appears to throw exception immediately

2016-12-28 Thread Zoffix Znet via RT
Some comments from moritz: https://irclog.perlgeek.de/perl6-dev/2016-12-28#i_13813983 And a short comment from TimToady on the topic: https://irclog.perlgeek.de/perl6-dev/2016-12-28#i_13814034 I also notice our *subs* throw, while *methods* fail(). The subs call the methods, check for failures

[perl #130418] chdir appears to throw exception immediately

2016-12-28 Thread Zoffix Znet via RT
On Tue, 27 Dec 2016 13:28:19 -0800, comdog wrote: > Using chdir with a non-existent directory appear to throw the > exception > immediately rather than using fail. A bit of a discussion for why chdir throws: https://irclog.perlgeek.de/perl6-dev/2016-12-28#i_13810888 But on further inspection, I

[perl #130418] chdir appears to throw exception immediately

2016-12-27 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #130418] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130418 > Using chdir with a non-existent directory appear to throw the exception immediately rath