

ikegami also showed FindBin in the comments ( How do I add the directory my program lives in to the module/library search path?).īeyond that, you can tell require to load a path, although you then need to ensure that the program can find that path even if someone runs it from another directory require '. perlfaq8 has How do I add a directory to my include path at runtime?. And, before v5.26, it included the current working directory (see v5.26 removes dot from and Doesn't Perl include current directory in by default?īut, you can tell Perl where else to look. These directories are decided when someone configures and installs Perl. User Contributed Perl Documentation EXIFTOOL (1) NAME exiftool - Read and write meta information in files SYNOPSIS Reading exiftool OPTIONS - TAG. If it doesn't find it it moves on to the next, and so on down the line. Once it has the filename form of the module, it looks for that subpath in the directories in It tries the first directory. To check the Perl version, type- perl -v Next step is to install cpanm so that we can use it to install modules from CPAN. You will get the command line where you can run the Perl commands. It will show you the 'Perl (command line)', click on that. Installing Perl on Windows (with Padre the Perl IDE) Watch on. Once installed, go to start menu and type 'perl'. Install App-cpanminus by typing in: cpan App::cpanminus. To confirm the installation worked type: perl -v. When you call use or require with a bareword, Perl translates that module name, like Some::Module, into Some/Module.pm (or whatever is appropriate for your system. Log out and back in (or reboot) Go to your start menu, then click the 'Perl command' link. You don't have to put them anywhere special, but you need to tell Perl where to find them. A Perl module is just a file (or collection of files).
