I am trying to get Strawberry perl running on my windows 8 machine. This is my first attempt ever to use perl and I am going through the readme file to try and get it up and running. At the moment i have got as far as typing
c:\>perl
and i get access denied message. Am i misunderstanding the readme or do i need to make some further adjustments to get it to work?
The instrustions for the readme are
1. run any perl script by launching
c:\> perl c:\path\to\script.pl
i have also tried
c:\>perl c:\perls\ex1.pl
where perls is the folder on C: in which the script ex1 is located. Also get access denied
message.
It could be either the fact that Perl isn't in your PATH
, or permissions issue.
If it's the PATH
, to troubleshoot and fix:
Find the directory where you installed Perl (say, "c:\program files\strawberry\perl\bin\"
as an example)
Run Perl as full path: `"c:\program files\strawberry\perl\bin\perl c:\perls\ex1.pl".
If that works, you will simply need to add Perl's directory to PATH variable, so that running "perl" without a path will search for it in that directory. To do that, here are the references:
If it's permissions, here's a reference: http://windows.microsoft.com/en-us/windows7/how-do-i-open-a-file-if-i-get-an-access-denied-message