Ok so- I have a .pl file that prints to cli:
print "wpeofkwpoef";If I run the .pl directly, it prints just fine. ./damnit.pl
I have an ln -s link to it in /usr/local/bin/damn.
If I run it from cli there /usr/local/bin/damn, it runs (the code later on even changes files; it works), but it never prints.
This same code usta work in perl like 15 years ago lol.
important to note to test, I made .sh script that just does:
#!/bin/bash
echo 'wefwe';
And then did an ln -s to it and it prints the wefew. So .sh can do that from the link but perl demands it be done from the actual file not the link.
Ubuntu 18.04 $ perl -v This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-gnu-thread-multi (with 67 registered patches, see perl -V for more detail)
Thanks monks, sorry for the lack of < code> tags but the code is so minimal. mIn reply to printing to stdout from a soft ln -s doesn't show up by mrkrinkle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |