in reply to Perl wrapper
And now without the extra file.
wrapper:
#!/bin/sh perl "$@"
script:
#!/bin/sh #!perl -w eval 'exec wrapper -x -S $0 ${1+"$@"}' if 0; 4; print("Hello, World\n");
$ script Useless use of a constant (4) in void context at script line 5. Hello, World
See perlrun.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl wrapper
by weigand (Initiate) on Mar 16, 2011 at 17:29 UTC | |
by ikegami (Patriarch) on Mar 16, 2011 at 18:12 UTC | |
by weigand (Initiate) on Mar 16, 2011 at 19:22 UTC | |
by ikegami (Patriarch) on Mar 16, 2011 at 20:01 UTC |