I'm interested in using Wilfredo Sanchez's DropScript to make some of 
my perl scripts available to users who prefer not to use the command 
line.

How are the names  of the dropped files passed to the script? For 
example, when I make the following script into a 'droplet' it 
silently fails to even create the log file.  Are the file names not 
passed to @ARGV? are there permissions issues?

Thanks in advance;

--Josh

<script>

#!/usr/bin/perl -w

use strict;

open LOG, ">log.txt" or die "can't open the logfile $!";


for (@ARGV) {
print LOG "$_\n";}


</script>

-- 

Reply via email to