in reply to Re^3: File::Random module (McA)
in thread File::Random module

Hi Anonymous Monk,

you write

Yes I can, but I'm not interested...
That'a pity. I couldn't see where File::Random (I'm aware of the module name) does some path mangling without being careful to '/' or '\' so it produces the above error while using File::Find (I'm aware of the module name).

The OP gave the error message

OUTPUT:Can't stat E:: No such file or directory at C:/Perl/site/lib/File/Random.pm line 121
looking at line File::Random line 121 shows that this is a call to find from File::Find (IAOTMN) at least in version 0.17 of File::Random.

To clarify and sum it up for the interested readers:

Hopefully someone else shares his Monks's wisdom and shows us the seemingly obvious bug in File::Random.

McA

Replies are listed 'Best First'.
Re^5: File::Random module (McA)
by Anonymous Monk on Apr 02, 2013 at 09:52 UTC

    ... That'a pity ... seemingly obvious bug in File::Random.

    Its not as if I described it, its not as if I said the Bug in File::Random, it does't use File::Spec or another file path module, it rolls its own code, and naturally its linux-centric

     E:/ is a different directory from  E: and  E:: isn't a directory at all