http://www.perlmonks.org?node_id=11110235


in reply to Re^2: create a relative symlink
in thread create a relative symlink

my $newname="/home/script/data/archive/currentfile"; my $targetfile="infofile-2019-12-16"; symlink $targetfile, $newname;

Replies are listed 'Best First'.
Re^4: create a relative symlink
by Skeeve (Parson) on Dec 16, 2019 at 12:14 UTC

    THANKS.

    Never thought that it's THAT easy.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e