in reply to Re: Activerperl permissions error win 7 64 bit vanilla install
in thread Activerperl permissions error win 7 64 bit vanilla install

Hi thanks for response..

#!/usr/bin/perl -w print "Hello, World!\n";

is my script..

 perl> perl -v

just goes back to the command prompt.. I have right clicked on the cmd icon in the start menu, copied to desktop and set properties so am running the command as administrator. I have reinstalled the application 3 times.

I tried moving the file to an external drive..

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\windows\system32>cd.. C:\Windows>cd.. C:\>e: E:\>perl>hello2.pl

just hangs

Replies are listed 'Best First'.
Re^3: Activerperl permissions error win 7 64 bit vanilla install
by ww (Archbishop) on Mar 29, 2012 at 22:58 UTC
    If running "perl -v" "just goes back to the command prompt (without any error message from 'doze?) you have a problem that I can't grok at the moment.

    If cmd.exe didn't find perl it would be expected to spit out a complaint on the order of "perl is not recognized as an internal or external command, operable program or batch file."

    But, OTOH, if cmd found perl and perl didn't respond to your request for version information, that would say Perl itself is broken. Yet that seems to be at odds with the "Access denied" message you reported earlier.

    So, without a clue, perhaps you'll answer the question above... and report what Win7 tells you when you enter "path" at the command prompt, and what distribution of Perl you've installed repeatedly (and whether you were careful about removing all traces of the previous version on each re-install).

    HTH ...but I'm not wildly optomistic :(
Re^3: Activerperl permissions error win 7 64 bit vanilla install
by thezip (Vicar) on Mar 30, 2012 at 01:16 UTC
    Perhaps I misinterpreted what your command prompt looks like. If you're doing something like:
    C:\ perl> perl -v

    ... then that's not even close to what I meant, and I'm quite sure I don't want to try it to see what happens.

    Here's what I meant for you to try, for whatever your command prompt is:

    perl -v

    What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011

      ah, i see.. i was being stoopid

      Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\windows\system32>cd.. C:\Windows>cd.. C:\>perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x +64-multi-t hread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2011, Larry Wall Binary build 1402 [295342] provided by ActiveState http://www.ActiveSt +ate.com Built Oct 7 2011 15:19:36 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\>

      yes, thanks, I am always a bit dim when it comes to startups, surprisingly once up and running I do OK.. just to reassure you. ;)

      So the issue for me was the way I was writing the paths. Oh dear. Thank you for the help, this has me up and running!
Re^3: Activerperl permissions error win 7 64 bit vanilla install
by Anonymous Monk on Mar 29, 2012 at 23:20 UTC

     E:\>perl>hello2.pl

    You're overwriting hello2.pl

    You're supposed to type     perl hello2.pl

    perl as in perl.exe or C:\perl\bin\perl.exe or c:\strawberry\perl\bin\perl.exe ...

    More on this in perlrun,Behind the GUI lives the Shell (enable javascript for images)