34.204.169.76 |    

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.002 seconds at 74.52 KB/s

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

User online
There are 3 users online.

Tags Cloud

Latest snippets
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)
STDERR
(Bash::Function)
radius
(CSS)
shadow
(CSS)
rotate
(CSS)
create_function
(JavaScript::Snippets)