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

Re: [MacPerl] droplet



On Fri, Oct 01, 1999 at 02:35:43PM -0500, Simon Martel wrote:
> Hi!
>
> I am new to programming and english isn't my native langage. I learn
> programming with MacPerl and some JavaScript. I want to make a droplet
> to clean some html files. My question is : What is the way to tell the
> droplet it should read the file i drop on it. I already have the book
> "MacPerl, Power and Ease".
>

The filename will be in the @ARGV array, as if you had a command line
interface and invoked `myscript filename`.  (See perlvar for more about
@ARGV.)


Ronald


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