> On 28 Jan 2015, at 19:06, Alexander Moquin (via RT) > <[email protected]> wrote: > > # New Ticket Created by Alexander Moquin > # Please include the string: [perl #123690] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=123690 > > > > [12:39] <perl6_newbe> I was looking for help to move a file with perl6. But > did not find any docu. IO::Path did not provide move. How can I move a file? > [12:40] <Mouq> perl6_newbe: Try rename? > [12:41] <raydiak> perl6_newbe: http://design.perl6.org/S32/IO.html might > help > [12:42] <Mouq> raydiak: It looks like move() is NYI, however > [12:42] <Mouq> Or .move or whatever > [12:43] <raydiak> ah...then copy and unlink? > [12:43] <raydiak> if rename fails, I mean > [12:43] <jdv79> not automagically if that's what you mean > [12:44] <jdv79> rename/move is atomic > [12:44] <raydiak> no, I meant as a workaround > [12:44] <Mouq> m: nqp::move > [12:44] <+camelia> rakudo-moar 358d1d: OUTPUT«===SORRY!===No registered > operation handler for 'move'» > > (copy and unlink worked for perl6_newbe. Still, a workaround shouldn't be > necessary)
I specced move() in the newio branch, will also implement it in that branch. Li
