in reply to Load all modules in directory
Use require instead of use and it might work (be sure to prepend the directory path, though).
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Load all modules in directory
by ttcuberat (Sexton) on Dec 10, 2003 at 19:21 UTC | |
by hanenkamp (Pilgrim) on Dec 10, 2003 at 19:42 UTC | |
by CombatSquirrel (Hermit) on Dec 10, 2003 at 19:48 UTC | |
by hanenkamp (Pilgrim) on Dec 10, 2003 at 20:07 UTC | |
by KPeter0314 (Deacon) on Dec 10, 2003 at 19:32 UTC | |
by ttcuberat (Sexton) on Dec 10, 2003 at 19:37 UTC | |
by graff (Chancellor) on Dec 11, 2003 at 04:52 UTC | |
by eric256 (Parson) on Dec 11, 2003 at 19:37 UTC |