Re: Invalid top directory at d:\perl\lib\file\find.pm line 562



On Sep 27, 8:37 am, kra...@xxxxxxxxx (John W. Krahn) wrote:
If i run this script i am getting the error as "Invalid top directory
at d:\perl\lib\file\find.pm line 562, <DATA> line164"

This script doesn't have 562 lines and nowhere are you using a DATA filehandle
so it is hard to say why the error message is appearing.

John, the error message is happening File::Find's line 562, not the
OP's script's line 562. Looks like File::Find is die()ing where it
should be croak()ing, personally.

Basically the OP passed a list of top directories that contained one
or more undefs, probably because of the way he built @d using an if
statement inside the loop.

Paul Lalli

.



Relevant Pages

  • Re: Checking for Senders via POP3
    ... John wrote: ... > Your script doesn't get connect to anywhere. ... What error message do you get? ... Gunnar Hjalmarsson ...
    (perl.beginners)
  • Re: Error message: "Unable to create object named WScript.Shell"
    ... Set WshShell = WScript.CreateObject ... "John" wrote: ... | Script in all my scripts. ...
    (microsoft.public.scripting.vbscript)
  • Re: Form Security
    ... After all this, if no error message has been generated, the form contents are emailed to me. ... I'm no Linux guru, so I don't know what someone could do to cause problems with this script, other than spam me. ... What he's proposing is false security - which is worse than no security ...
    (comp.lang.php)
  • RE: Cannot Edit Logion Scripts
    ... remove the script that you would like to edit. ... Please capture a screenshot of the error message received on the client ... Microsoft Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Sound file
    ... There shouldn't be any problems in the limited user accounts. ... The only other problem just about has to be with the attaching of the .wav ... > Common script errors messages can be eliminated by Clicking: ... >> click on the html file we get an error message and the wav file does ...
    (microsoft.public.windowsxp.accessibility)