in reply to Re^2: Which "use" statements in a module do "bubble up" to the callers?
in thread Which "use" statements in a module do "bubble up" to the callers? [SOLVED]
C:\Users\Bill\forums\monks>type scope.pl use strict; use warnings; use constant PI => 3.14; my $pi = PI; package B{ my $pi = PI; } C:\Users\Bill\forums\monks>perl scope.pl Bareword "PI" not allowed while "strict subs" in use at scope.pl line +6. Execution of scope.pl aborted due to compilation errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Which "use" statements in a module do "bubble up" to the callers?
by Anonymous Monk on Aug 31, 2017 at 16:29 UTC | |
by AnomalousMonk (Archbishop) on Aug 31, 2017 at 16:48 UTC | |
by BillKSmith (Monsignor) on Sep 01, 2017 at 16:33 UTC | |
by AnomalousMonk (Archbishop) on Sep 01, 2017 at 17:25 UTC | |
by Anonymous Monk on Sep 01, 2017 at 17:56 UTC | |
by Anonymous Monk on Sep 01, 2017 at 16:50 UTC |