On 9/7/19 8:35 PM, Mike wrote:
Maybe you should simplify to:
#!/usr/bin/perl
use strict;
use warnings;
symlink('ab', "foo") || die $!;
If that doesn't work try it after changing
'symlink'
to
'link'
symlink and link are very different functions so changing it likely
won't help. see my other
Maybe you should simplify to:
#!/usr/bin/perl
use strict;
use warnings;
symlink('ab', "foo") || die $!;
If that doesn't work try it after changing
'symlink'
to
'link'
Printing your $target gives a space and this symbol:
https://www.fileformat.info/info/unicode/char/2640/index.htm
I am on St
On 9/7/19 4:25 PM, Jorge Almeida wrote:
Sorry about the title, it's the best I can do...
#!/usr/bin/perl
use strict;
use warnings;
my $num=12;
my $target=pack('n', $num);
symlink($target, "foo") || die $!;
It dies with "No such file or directory"
No symlink is created. What I want is a symlink
Sorry about the title, it's the best I can do...
#!/usr/bin/perl
use strict;
use warnings;
my $num=12;
my $target=pack('n', $num);
symlink($target, "foo") || die $!;
It dies with "No such file or directory"
No symlink is created. What I want is a symlink named "foo" pointing
to a 2-byte string. Y