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.
In reply to Re: Perl wrapper
by ikegami
in thread Perl wrapper
by weigand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |