in reply to require $package?
sub loadmod(@){ shift if(ref($_[0])); $@ = 0; foreach (@_){ croak("loadmod() cannot load any packages outside of it's own pa +ckage area (RPG). Package Requested: $_") unless($_ =~ m/^RPG::/o); eval "require $_; "; croak("Unable to locate $_ \@INC includes: ".join(", ", @INC)) i +f($@); } }
syntax error at E:/Perl/lib/Carp/Heavy.pm line 1, near "package Carp" Compilation failed in require at E:/Perl/lib/Carp.pm line 109.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 1: New Problem?
by tilly (Archbishop) on Oct 17, 2001 at 06:31 UTC | |
by Flame (Deacon) on Oct 17, 2001 at 06:47 UTC | |
by tilly (Archbishop) on Oct 17, 2001 at 18:50 UTC | |
by Flame (Deacon) on Oct 17, 2001 at 23:45 UTC |