Chris Costello wrote:
> On Friday, June 16, 2000, Peter Wemm wrote:
> > Err.. how did you run it?  'perl < MYKERNEL'?  If you run 'perl MYKERNEL'
> > it will generate nothing because I was kinda lame and didn't know how to do
> > argument parsing. :-]
> 
>    Couldn't have hurt to ask.
> 
> while (defined($ARGV[0])) {
>         # ... parse ...
>         shift;
> }
> 
>    It'd work as perl script.pl arg1 arg2 ...  or as ./script.pl
> arg1 arg2 ... (if +x).

How about that and as a stdin pipe as well if no args are specified?

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to