dekimsey has asked for the wisdom of the Perl Monks concerning the following question:
Which is just kinda ugly. I looked through DynaLoader's documentation and it doesn't seem to be listed anywhere. Is there a cleaner way of doing this?use lib '/home/hdweb/lib'; BEGIN { push @DynaLoader::dl_library_path, '/home/hdweb/ars/api_701p1/lib' +; } use ARS; # ~/lib folder.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cleanly adding a directory to DynaLoader's search path?
by chromatic (Archbishop) on Aug 22, 2007 at 05:16 UTC | |
|
Re: Cleanly adding a directory to DynaLoader's search path?
by Anonymous Monk on Aug 22, 2007 at 07:00 UTC | |
by dekimsey (Sexton) on Aug 22, 2007 at 12:08 UTC |