From: Sean W. <li...@su...> - 2003-06-27 18:26:32
|
EB wrote: >For anyone who's keeping track the fix for my problem ended up being to >add a chop statement for the v_file variable. > i.e. chop($v_file); >At line 19 > >DOH! > >Edward > > > That trailing carriage return will kill you over and over again. Trust me. :) Been there. A better solution to your directory listing routing would be: opendir(DIRLIST,$incoming_dir); while ( $FileName=readdir DIRLIST ) { Do something } closedir DIRLIST; -- Sean Walker http://sean.surfmy.net/ |