Hello World in Perl (For Windows)

1. Go to http://www.activestate.com/activeperl/downloads
2. For 32 bit machine download x86
3. For 64 bit machine download x64
4. Open notepad
5. Then Write print(“Hello World”)
6. Save the file as filename.pl
7. Go to Start -> Run -> write cmd
8. Drag the file into the cmd window and hit enter
9. You will see Hello World

Advertisements