If you're on Windows, you'll need to install ActivePerl first. You can get it by going to
and clicking "Perl" at the top of the page, then "Download"
If you're on Linux, you probably already have Perl installed.
On Windows, when you install ActivePerl, all .PL files will have icons on them now (might be a gecko icon or a yellow dot, which are the two I've seen so far from ActivePerl). Double-clicking them will run them, but when they exit (or die of error), the command prompt window that popped up to run them will disappear very quickly.
So, the best way to run them (especially if you're not 100% sure they'll run fine without giving errors like that), is to use the command prompt or terminal.
On Windows, click "Start", "Run", and type "cmd" and hit enter. Navigate to the path you saved your Perl script in, and then type "perl (script name)" to run it.
i.e. if you saved it as "test.pl" in My Documents:
Code:
C:\WINDOWS\System32>cd \
C:\>cd Documents and Settings
C:\Documents and Settings>cd Kirsle
C:\Documents and Settings\Kirsle>cd My Documents
C:\Documents and Settings\Kirsle\My Documents>perl test.pl
That'll run the Perl script, and if the script dies of errors or exits, the command prompt window won't disappear like it does when you double-click to run the script, and gives you time to read any error messages.
-------------
Cuvou.com | The NEW Kirsle.net