in reply to How do I use 'which' in the hash-bang line?
I usually use
#!/usr/bin/env perl
which runs the (first) perl found in the PATH environment variable. See env.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How do I use 'which' in the hash-bang line?
by davies (Monsignor) on Mar 15, 2018 at 15:06 UTC | |
by haukex (Archbishop) on Mar 15, 2018 at 15:13 UTC | |
by Anonymous Monk on Mar 15, 2018 at 18:46 UTC | |
by haukex (Archbishop) on Mar 15, 2018 at 20:01 UTC | |
Re^2: How do I use 'which' in the hash-bang line?
by rizzo (Curate) on Mar 15, 2018 at 17:56 UTC | |
by hippo (Archbishop) on Mar 15, 2018 at 18:19 UTC | |
by rizzo (Curate) on Mar 15, 2018 at 18:33 UTC | |
Re^2: How do I use 'which' in the hash-bang line?
by rje (Deacon) on Mar 15, 2018 at 14:48 UTC |