Running Perl for Windows

To run Perl for Windows, you'll need to start a command prompt window (a DOS Prompt in Windows 95, or a Command Prompt in Windows NT). At the command line, you can make sure Perl's running with the -v option:

c:\> perl
						-v
					

You'll get a message telling you the version of Perl you're running and some other information about your Perl installation. This verifies that Perl has been installed correctly, and that your system can find the Perl executable. From here, you can proceed to Day 1 and start writing Perl scripts.

Get Sams Teach Yourself Perl in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.