zzspectrez has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I am having a bitch of time getting drag and drop to work with perl on Windows XP. It's been a while since I have been hacking around with perl.. So maybee Im just rusty. However, I remember doing this before with windows 98 no problemo. If I remember the jist.... You just use pl2bat on your perl script and then when you drop a file onto the batch file it is passed to your script in @ARGV... right??
Doesnt seem to work...------------------------------#!perl print "TEST\n"; print "ARGV: ..@ARGV..\n"; <>;
Ok seems to work...c:\pl2bat test.pl c:\test.bat HELLO ARGV: .... c:\test.bat test.pl HELLO ARGV: ..test.pl..
It waits for me to hit return then the cmd window closes.HELLO ARGV: ....
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Activestate Perl and "Drag and Drop"
by Thelonius (Priest) on Jul 16, 2004 at 05:39 UTC | |
Re: Activestate Perl and "Drag and Drop"
by tye (Sage) on Jul 16, 2004 at 18:24 UTC | |
by zzspectrez (Hermit) on Jul 16, 2004 at 19:32 UTC |