Re: How in Raku can a symlink be edited to a new target, if the target is a directory.

2022-11-07 Thread Richard Hainsworth
Ignore this message. It turns out I had set up my file structure incorrectly, so the description below is wrong and the problem is elsewhere. Raku handles a symlink to a directory correctly. On 07/11/2022 9:55 am, Richard Hainsworth wrote: I want - in a Raku program - update a symlink from

How in Raku can a symlink be edited to a new target, if the target is a directory.

2022-11-07 Thread Richard Hainsworth
I want - in a Raku program - update a symlink from 'plug-v1' to 'plug-v2', where both plug-v1 and plug-v2 are sub-directories of 'src'. The symlink is 'plug'. I am using Ubuntu. First time I create symlink with 'src/plug-v1'.IO.symlink( 'plug' ); If now I want to change the link, then the