in reply to Re: Why I get a display "Access is denied" when i run my perl script on my pc?
in thread Why I get a display "Access is denied" when i run my perl script on my pc?

Hi,

my perl version is v5.8.2 built for MSWin32-x86-multi-thread.

I think it is the ActiveState perl

Any idea why it doesn't work??

Thanks

C.

  • Comment on Re^2: Why I get a display "Access is denied" when i run my perl script on my pc?

Replies are listed 'Best First'.
Re^3: Why I get a display "Access is denied" when i run my perl script on my pc?
by CountZero (Bishop) on Jan 19, 2007 at 22:00 UTC
    Did you install it using the *.MSI installer file or did you use the *.ZIP file? The installer sets up the file associations for you.

    I see that you are using an older version of Perl. Perhaps uninstall it and try installing the latest version.

    Otherwise have a look here.

    However, I don't think it is a file association problem. If the file associations are not right, you get a request to choose a program to run your file, not an "access is denied" box. It looks to me that this has something to do with you not being authorized to access that file or the script runs all right but then does something you have no authority to do.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Re^3: Why I get a display "Access is denied" when i run my perl script on my pc?
by starX (Chaplain) on Jan 20, 2007 at 12:48 UTC
    Hmm.... you said you were running this from the command line; what is the exact command that you are using from the prompt to run the script?