Thanks for the help so far guys, I've got a much better picture of what's going on now!
Does the @ARGV array contain the full paths to the file, or just their names (ie, do the files HAVE to be in the same directory as the dropscript?) Cheers, -Shannon On 6/9/02 12:51 AM, in article p05200809b99d1b83553c@[158.152.20.126], "John Delacour" <[EMAIL PROTECTED]> wrote: > Suppose you have a perl script "test.pl" as below saved with UNIX > line endings in your user directory, and in the same directory you > have three text files "a.txt", "b.txt", "c.txt" ... > > #!/usr/bin/perl > foreach $file (@ARGV){ > open FILE, $file; > print <FILE>; > }
