Simply Hao on Fri, 14 Apr 2000 17:17:29 -0400 (EDT)


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

Re: shebang pointing to script?


> Maybe what you want can be achived with C< do >?

How about this?

    #!/usr/bin/perl -nw
    use strict;

    unshift @ARGV, $0;
    eval $_;
    shift @ARGV;

-Hao
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**