in reply to Re: shebang anomaly
in thread shebang anomaly
#!/usr/bin/env perl -w ##!/usr/bin/env perl -wd
I switch between these two lines, the first for ordinary runs, the second for debug runs. When I wish to debug I invert the lines, comment out the second, uncomment the first and proceed. Both these shebang lines fail in debian but work correctly in macOS. In debian I cannot have any argument to perl from an /usr/bin/env shebang despite rtfm. That page says the command can take an argument. True, if the argument was an argument list I would certainly quote it so that it appears as a single argument. In both of those example shebangs, I cannot have any arguments no matter how I quote them, and I've tried every quote option there is.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: shebang anomaly
by huck (Prior) on Apr 19, 2018 at 00:00 UTC | |
by QM (Parson) on Apr 19, 2018 at 09:18 UTC | |
Re^3: shebang anomaly
by pryrt (Abbot) on Apr 19, 2018 at 13:54 UTC | |
Re^3: shebang anomaly
by bliako (Abbot) on Apr 19, 2018 at 09:46 UTC | |
by perlboy_emeritus (Scribe) on Apr 20, 2018 at 15:27 UTC | |
by Anonymous Monk on Apr 20, 2018 at 16:51 UTC | |
by perlboy_emeritus (Scribe) on Apr 20, 2018 at 20:33 UTC | |
by huck (Prior) on Apr 20, 2018 at 22:19 UTC | |
| |
by bliako (Abbot) on Apr 20, 2018 at 18:51 UTC |