in reply to Frustrating Error: "Global symbol requires explicit package name" - Can't see why?
And, once you know it, it's easy to duplicate the error:
c:\@Work\Perl\monks>perl -wMstrict -le "sub foo (&@) { return 42; } ;; my $x = foo { } print $x; " Global symbol "$x" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.
Give a man a fish: <%-{-{-{-<
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Frustrating Error: "Global symbol requires explicit package name" - Can't see why?
by LanX (Saint) on Aug 25, 2015 at 01:49 UTC | |
by AnomalousMonk (Archbishop) on Aug 25, 2015 at 15:12 UTC |