in reply to Loading a Module from a Variable
(note the change from $! to $@ -- see perlvar)if( eval join("", @mod) ){ print "module loaded\n"; } else { print "module failed to load: $@\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Loading a Module from a Variable
by Anonymous Monk on Sep 21, 2005 at 13:32 UTC | |
by nobull (Friar) on Sep 21, 2005 at 16:46 UTC |