# ----------- load @ARGV for <> operator below ---------------
@ARGV = grep { !/^\./ } readdir TEST;
As I told you in another thread, that just grabs the file names, while you likely need the full paths.
http://www.mail-archive.com/beginners%40perl.org/msg59814.html
Why do you keep starting new threads about this topic instead of posting follow-ups?? And was "not sure what I did?" the most useless subject you were able to find for this new thread? :(
Try:
@ARGV = map { "$dir/$_" } grep { !/^\./ } readdir TEST;
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>