3.16.81.94 |    

Navigation

Google Advertisement

This construct expand the $HOME/bin/perl/lib directory to the package path @INC.

libdir
  1. BEGIN {
  2.     my $prefix = $ENV{'HOME'}."/bin/perl";
  3.     my $libdir = ${prefix}."/lib";
  4.     unshift(@INC, $libdir);
  5. }
  6.  
  7. # Display all package paths:
  8. print $_."\n" foreach (@INC);
Parsed in 0.001 seconds at 138.20 KB/s

Search
 
Full text search by name and content of a snippet.

User online
There are 4 users online.

Tags Cloud

Latest snippets
str2seconds
(Bash::Function)
is_integer
(Bash::Function)
file_rotate
(Bash::Function)
confirm
(Bash::Function)
is_workingtime
(Bash::Function)
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)