develooper Front page | perl.perl6.users | Postings from June 2020

Is thre a way to do an "if" on "use lib"?

Thread Next
From:
ToddAndMargo via perl6-users
Date:
June 7, 2020 07:28
Subject:
Is thre a way to do an "if" on "use lib"?
Message ID:
86163b2d-c314-d79c-6c20-e17ed05e9e3c@zoho.com
Hi All,

Is there a way to do an "if" on "use lib", so
I do not have to keep commenting these back and forth?

# use lib 'C:/NtUtil', '.';
use lib 'C:/NtUtil', '.', 'K:/NtUtil';

Many thanks,
-T

Thread Next


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