Extending the @INC path on the fly
If you cannot or do not want to change the @INC path for perl
permanently, the following line in your code will add the directory
of the respective perl script to the @INC path:
BEGIN { push @INC, substr($0, 0, rindex($0, "\/")); }
As long as packages reside within the same directory as the scripts
calling them, they will be found.