Re: rmdir question

2019-12-03 Thread Timo Paulssen
On 03/12/2019 04:46, Paul Procacci wrote: > On success it return a Bool::True. > On failure it throws an exception. > It doesn't crash the program. > If you are interested in handling the exception, add logic to handle it. > > Examples: > --- > # mkdir a ; `which perl6` -e "

Re: rmdir question

2019-12-02 Thread ToddAndMargo via perl6-users
On Mon, Dec 2, 2019 at 9:39 PM ToddAndMargo via perl6-users mailto:perl6-us...@perl.org>> wrote: Hi All, From the manual page of rmdir: https://docs.perl6.org/routine/rmdir subrmdir(*@dirs --> List:D) method rmdir(IO::Path:D: --> True) Does *@dirs

Re: rmdir question

2019-12-02 Thread Paul Procacci
It seems to me all your questions are answered by the very documentation you referenced. >> Does *@dirs mean I can give it multiple directories as an array? Remove the invocant in sub form of the provided directories in the given list . Example: - # mkdir {

rmdir question

2019-12-02 Thread ToddAndMargo via perl6-users
Hi All, From the manual page of rmdir: https://docs.perl6.org/routine/rmdir subrmdir(*@dirs --> List:D) method rmdir(IO::Path:D: --> True) Does *@dirs mean I can give it multiple directories as an array? What does "--> List:D" give me back? An array of Booleans as to which di