Search code examples
windowsperlwindows-8

Perl in Windows 8


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.


Solution

  • 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:


    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