Gunnar Hjalmarsson wrote: > As I told you in another thread, that just grabs the file names, while > you likely need the full paths.
Yes, you did. I actually just wanted the file name, but hey, your way works, so I'll stick w/ that. > 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? :( I posted the new thread because the script was working fine w/ @ARGV = grep { !/^\./ } readdir TEST; until I changed the directory. I thought it was a new problem hence a new thread, but I see your point... and yes I will try and use more usefull subject line. Thank you for you help. Brian Volk -----Original Message----- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 5:17 PM To: [EMAIL PROTECTED] Subject: Re: not sure what I did ? Brian Volk wrote: > > # ----------- 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> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>