Opening the Perl Command Line?

Protoman

New member
I just downloaded ActivePerl for my computer with windows XP home edition and I don't know how to open the command line! Can someone please tell me how? The only things in the start menu are "Documentation", "OLE-browser", and the "Perl Package Manager."
 
You can run your scripts directly from the command line:
Start -> Run
The "Run" dialog box opens. Type "cmd" or "cmd.exe" (without the quotes)
This opens a command prompt session.
To run your perl script, browse to its location and type:
perl script_name
where script_name is the actual name of your script, including its extension (which is typically .pl but I tried it on a .txt file created with notepad and it worked).

If you don't want to browse to the location of the script, just type:
perl full_path_to_your_script

Hope this helps
 
Back
Top