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

Re: windows, shortcuts, and 'use lib'

Thread Previous
From:
Slaven Rezic
Date:
May 14, 2003 13:54
Subject:
Re: windows, shortcuts, and 'use lib'
Message ID:
87wugts30p.fsf@vran.herceg.de
Jan Dubois <jand@ActiveState.com> writes:

> On Wed, 14 May 2003 11:58:10 -0700, Edward Peschko
> <esp5@mdssirds.comp.pge.com> wrote:
> 
> [...]
> 
> >	2) perl <shortcut> would follow the shortcut and run the file behind the shortcut.
> 
> You can easily do this with a module that will modify @ARGV for you:
> 
>   perl -MLinks shortcut.lnk
> 
> and then put "-MLinks" into PERL5OPT.
> 

It's not @ARGV, it's $0. And I don't see how a module could do this.

Regards,
	Slaven

-- 
Slaven Rezic - slaven@rezic.de

    tksm - Perl/Tk program for searching and replacing in multiple files
    http://ptktools.sourceforge.net/#tksm

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About