Simply Hao on Fri, 14 Apr 2000 16:19:28 -0400 (EDT)


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

Re: shebang pointing to script?


John,

I'm not sure what you're trying to do.

Is it something like this?

caller:

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

    system (shift, $0) if @ARGV;

processor:

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

    system ('cat', shift) if @ARGV;

% caller processor

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