469,914 Members | 2,192 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,914 developers. It's quick & easy.

invalid top dirctory - windows

SRB
I get invalid top directory at E:/Perl/lib/File/Find.pm line 562. when i
run this in windows. Can someone explain what I am doing wrong?

use File::Find;
use Win32::File;
use Win32API::File 0.08 qw( :ALL );

my $LogDir = "C:\\";
print $LogDir;

&File::Find::find(\&doFile, $Logdir);

print "done.\n";

sub doFile
{
return unless (-f $_);
print "File: $_ \n";

}
Jul 19 '05 #1
0 2195

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Safalra | last post: by
5 posts views Thread by Nick Flandry | last post: by
reply views Thread by tynorton | last post: by
5 posts views Thread by Grant Edwards | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.