develooper Front page | perl.perl5.porters | Postings from April 2003

Re: windows, shortcuts and 'use lib'

Thread Previous | Thread Next
Rafael Garcia-Suarez
April 27, 2003 12:34
Re: windows, shortcuts and 'use lib'
Message ID:
Benjamin Goldberg wrote:
> A better patch (imho) would be to make the "-l" operator return true for
> filenames which end in ".lnk", and hack "readlink" on windows to grock
> the format of shortcut files.  Then, one could write:
>    use lib readlink('shortcut.lnk');
> Which would thus require no alteration of

CORE::readlink() is overridable. You could do this in a module
(Win32::Readlink ?)

Umask is not *NIX

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About