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

Re: windows, shortcuts and 'use lib'

Thread Previous | Thread Next
Nick Ing-Simmons
May 7, 2003 01:24
Re: windows, shortcuts and 'use lib'
Message ID:
Edward Peschko <> writes:
>> Sadly as cmd.exe is involved in system() and so on we do have to do
>> conversions...
>ok, that's what I want to know... *where* are the conversions done?

Several places but I would expect main command-line hackery 
to be in "hidden" in win32/win32.c

>I renamed this thread to 'shortcuts for core',

Not in the Subject: line ...

>because that's really what it is. 

Changes to the core for just this are unlikely.
Changes to the core to enable a module to override things to enable this are 
more likely.

>Anyways, I'd be happy to make this a module, except that there's no good way
>that I can see to override `` 

You _may_ have a point there.

>and @INC, 

You can add objects and/or coderefs to @INC which can so this.

>and %INC 

%INC keys are _ALWAYS_  in Foo/Bar style - regardless of OS/File system.

>(as well as saying 'perl
>script.p' where script.p.lnk is a link ). If I had a way of examining all
>paths at the source and changing them (in a module) then I'd be happy.
Nick Ing-Simmons

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