WIKI for Padre, The Perl IDE
Welcome, to the Well of all Padre knowledge, Please Register, Login and join in
Search:
Login
Preferences
About Trac
Home
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Back to Ticket #692
Ticket #692
: padre.diff
File padre.diff,
218 bytes
(added by nferraz,
4 years
ago)
use modules installed with local::lib
Line
1
8a9,17
2
>
3
> BEGIN {
4
> # use local::lib if available
5
> my ($HOME) = $ENV{HOME} =~ /^([\w\/]+)$/;
6
> if ($HOME and -d "$HOME/perl5/lib/perl5") {
7
> eval("use lib '$HOME/perl5/lib/perl5'");
8
> }
9
> }
10
Download in other formats:
Original Format