Help for this page

Select Code to Download


  1. or download this
    # add a "lib" that is in the script's dir
    use File::Spec::Functions qw/catdir/;
    ...
    # add a "lib" that is in the script's parent dir
    use Path::Class qw/dir/;
    use lib dir($FindBin::RealBin)->parent->subdir('lib')->stringify;