invalid top dirctory - windows

Discussion in 'Perl' started by SRB, Dec 25, 2003.

  1. SRB

    SRB Guest

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

    }
     
    SRB, Dec 25, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Frederic HOUDE
    Replies:
    4
    Views:
    629
    Frederic HOUDE
    Aug 31, 2004
  2. Cuthbert
    Replies:
    8
    Views:
    463
    Ancient_Hacker
    Sep 13, 2006
  3. AAaron123
    Replies:
    6
    Views:
    619
    AAaron123
    Nov 5, 2009
  4. Ray

    Invalid at the top level of the document

    Ray, May 6, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    960
  5. find clausen

    window.opener.top.location.top.close ???

    find clausen, Oct 5, 2003, in forum: Javascript
    Replies:
    2
    Views:
    456
    find clausen
    Oct 5, 2003
Loading...

Share This Page