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

Re: [MacPerl] [OT]: droplets for Win32 ?



On Fri, 9 Jul 1999 11:10:06 +0200 (MET DST), Torsten Mohrbach wrote:

>i have a neat little script doing some analysis with a whole bunch of
>files. on the mac i used a droplet. now the user who i wrote this for
>wants to move to win32 (...). is there a similar mechanism to do that ?
>
>(i know i could also try the globbing-module w/ the DOS-command-line but
>actually i'm looking for an exact copy of the mac-mechanism!!)

There's the wrapping of the Perl script in a BAT file. There's even a
utility included with Activestate to do the conversion for you; I think
the name is "pl2bat(.bat)". Drop the PL file on it, and you get the BAT
file.

Problem is, AFAIK, that you're limited to dropping ONE file at a time.
The File Manager only passes the name of the first of the files you
drop, to the script.

Somebody correct me if I'm wrong.

	Bart.

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