in reply to Re^2: Package shortener and loader
in thread Package shortener and loader

Please correct me if I am wrong, but it seems to me (although I am not currently developing on windows), that under windows, if the module fails to require a module being requested, and the value of __FILE__ contains something matching \\\d, that the application will exhibit the same behavior as the test.

The error is caused by passing an unescaped filename as a pattern, and it is not being caught by tests on *nix, because the value for __FILE__ does not contain '\'. I think that there are two parts to the fix - one is to enhance the test to enable the dev to test windows filenames on unix (is it worth it? not sure), and the other is to ignore the backslashes in the generated pattern so it does not happen outside of testing.

However, I do concur, that with appropriate testing of your application, and appropriate controls in production, that you will probably be safe forcing the install. You can get uncaught errors however, if the module being required errors out for some reason.

--MidLifeXis

Replies are listed 'Best First'.
Re^4: Package shortener and loader
by ikegami (Patriarch) on Jun 24, 2011 at 16:59 UTC
    I misunderstood the issue! retracted.