Brian Volk wrote:
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.

If you only want the file names in @ARGV, setting the working directory before the while loop is an alternative:

    chdir $dir;

--
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>




Reply via email to