Perl - Loading Libraries

perl

How can we load libraries in the current folder?

use lib dirname (__FILE__);
use packageName;

We may need to move the above block of code up to the top of our script.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License