in reply to Basic Queries
The array @INC contains the list of places that the do EXPR, require, or use constructs look for their library files. It initially consists of the arguments to any -I command-line switches, followed by the default Perl library, probably /usr/local/lib/perl, followed by ".", to represent the current directory. ("." will not be appended if taint checks are enabled, either by -T or by -t , or if configured not to do so by the -Ddefault_inc_excludes_dot compile time option.) If you need to modify this at runtime, you should use the use lib pragma to get the machine-dependent library properly loaded also:use lib '/mypath/libdir/'; use SomeMod;You can also insert hooks into the file inclusion system by putting Perl code directly into @INC . Those hooks may be subroutine references, array references or blessed objects. See require for details.
Basically, it finds the tarball, downloads it, extracts the files, runs Build.PL or Makefile.PL followed by Build or Make respectively, then it runs tests and finally installs the library if tests are successful. It does the same for all the dependencies first.
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Basic Queries
by Sarat1729 (Sexton) on Sep 07, 2017 at 10:02 UTC | |
by hippo (Archbishop) on Sep 07, 2017 at 10:38 UTC | |
by holli (Abbot) on Sep 09, 2017 at 16:12 UTC | |
by afoken (Chancellor) on Sep 09, 2017 at 19:41 UTC | |
by Theodore (Hermit) on Sep 07, 2017 at 11:25 UTC |