in reply to Re: Re: Why do I need -w in a cgi script
in thread Why do I need -w in a cgi script

 perl -e 'symlink $^X,"$^X\r"' won't work, as $^X equals to "$^X" in this case, so it will create a broken symlink named perl^M in the current directory. You'll first have to chdir to /usr/bin.