On 10/11/06, Jesse Engel <[EMAIL PROTECTED]> wrote:

i'm getting an error in an installed module, not in my script.

invalid top directory at /System/Library/Perl/5.8.1/File/Find.pm line 568.

Yes; but do you see what it's trying to tell you? Some top directory
that you're passing to find() isn't a valid directory name.

my @folders_to_get = $ftp->ls($dir);

find(\&get_mp3s, @folders_to_get);

It looks as if your find locations are the directory names on the
remote machine. Do those same names already exist on your machine?
(That would be necessary for find() to use them, of course.)

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

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