All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

Actually it’s only the key that’s always in Unix convention. The value will be some ill-descript Unixish mishmash on non-Unix platforms: usually, the @INC entry under which the file was found, verbatim, plus the same string as the key, joined with a slash regardless of OS – but not always, especially on VMS – and never on Symbian.

I only found a reference to it in
perlfaq5 [perl.org]. It points out there that DOS does handle forward slashes in place of backslashes (though you have to put quotes around the file name, or it thinks the slash is an option).