From the course: Perl 5 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using perldoc - Perl Tutorial
From the course: Perl 5 Essential Training
Using perldoc
- [Voiceover] Perl includes a rich documentation system called Perdoc, as part of the language package. Perldoc is also available on the web at perldoc.perl.org, and in fact this is probably much more convenient for most people. The entire documentation system is available here. For example, if I wanted to know about the IO File module, I can type in right here "IO::File", just as I would declare it in my Perl script, and here is the entire documentation for that module, all of the methods, and how it all works. If I want to find out about a function, like, for instance, "say" or "print", I'll just type in "print" here, and there is the print function. And there is all the documentation for the print function. Perldoc is also available from the command line on any system with a properly installed Perl interpreter. If you are familiar with the command line and you like using it, you can come out it here to the command line, like I've done here, and you can type "perldoc" and "IO File"…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.