Compile Time vs. Run Time
- This is more obvious in this example:
file: examples/002_if.pl
1:
2: if (1 == 2) {
3: use Nonexisting::Module;
4: }
5:
~/examples$ perl 002_if.pl
Can't locate Nonexisting/Module.pm in @INC (you may
need to install the Nonexisting::Module module) (@INC
contains: /home/domm/perl5/perlbrew/perls/system/lib/s-
ite_perl/5.24.0/x86_64-linux /home/domm/perl5/perlbrew-
/perls/system/lib/site_perl/5.24.0 /home/domm/perl5/pe-
rlbrew/perls/system/lib/5.24.0/x86_64-linux
/home/domm/perl5/perlbrew/perls/system/lib/5.24.0 .) at
002_if.pl line 3.
BEGIN failed--compilation aborted at 002_if.pl line 3.