go ahead... be a heretic | |
PerlMonks |
shebang problem on openSUSEby kcott (Archbishop) |
on Mar 24, 2018 at 00:22 UTC ( [id://1211643]=perlquestion: print w/replies, xml ) | Need Help?? |
kcott has asked for the wisdom of the Perl Monks concerning the following question: I encountered a problem with the shebang line using openSUSE. For testing purposes, I narrowed this down to one of the simplest of scripts (test_shebang.pl):
When I attempt to run this, I get:
It's not a $PATH or permission issue:
I've checked for any problematic characters that might have been present, but found none:
When changing the shebang line to any of the following, the scripts run with expected output (i.e. prints "Hello, world!" with or without "\n"):
The '-l' switch appears to work correctly from the command line:
The platform is "openSUSE Leap 42.1" and the Software Updates notification is telling me "Your system is up to date" (after running "Check For Updates"). Other relevant info:
I'm using a borrowed laptop (the owner is not currently contactable) and I'm not overfamiliar with openSUSE: perhaps I just need to tweak a setting. Neither Super Search nor Internet searches have proved fruitful. Any help would be appreciated. — Ken
Back to
Seekers of Perl Wisdom
|
|