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

RE: [MacPerl] Two-pass droplet?



> Quoting Creede Lambard (Volt Computer) 
> (a-creela@microsoft.com) from Thu, Aug 19, 1999 at 03:18:10PM -0700:
> > > > my @files = @ARGV;
> > > 
> > > See, I though this was a good idea, too, but
> > > 
> > >   print "@ARGV\n";
> > > 
> > > saved as a droplet gives no output.
> > 
> > Well, yes, if you double click it. If you drop files onto 
> it it will print
> > their names (concatenated, of course).
> 
> Y'know, that's what *I* thought too. And I swear that it 
> wasn't working
> yesterday, or else that's exactly what I would have used. :-)

Don't feel bad. I've used @ARGV in a couple dozen scripts, at least, and I
still had to test it before I sent the mail. :D

> I had assumed that, since whatever I did wasn't giving me anything
> in @ARGV (for all I know, it may have been a typo, it's long 
> gone now),
> that droplets acted like pipes would in Unix. :-/
> 
> But anyhow, I learned how to make dialogs instead, so all was 
> not lost :-)

Well, I'm happy to be an indirect benefit. Or something. <grin>

-- Creede

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org