John Kirk on Fri, 14 Apr 2000 20:42:22 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: shebang pointing to script?


On Fri, Apr 14, 2000 at 05:15:40PM -0400, Simply Hao wrote:
> > Maybe what you want can be achived with C< do >?
> How about this?
>     #!/usr/bin/perl -nw
>     unshift @ARGV, $0;
>     eval $_;
>     shift @ARGV;

  That looks dangerous enough to be fun.  I'll have to think
a while on it.  May be far enough beyond my imagination that
I'll get lost (again).
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**