Active State perl for windows not working.
am 08.01.2008 21:34:38 von unknownPost removed (X-No-Archive: yes)
Post removed (X-No-Archive: yes)
Caduceus
>When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
>nothing happens. Is there something I can do for this?
Nothing? You really get nothing? Not even an error message?
Then someone must have created a perl.bat or perl.com or perl.exe that
immediately terminates and replaced perl's perl.exe with that program.
jue
On Tue, 08 Jan 2008 16:34:38 -0400 Caduceus
C> When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
C> nothing happens. Is there something I can do for this? TIA Steve
Your keyboard is unplugged, or at least the following keys are not
working:
p
e
r
l
SPACE
-
v
h
w
o
c
i
n
..
Hope this helps...
Ted
"Caduceus"
news:dhn7o3hannpg0ugh7okc1t5k466m4gdogb@4ax.com...
> When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
> nothing happens. Is there something I can do for this? TIA Steve
In order for the perl command to do anything in my AS installation, I have
to use a dos prompt in the \perl\bin directory.
To that end, I use the following shortcut:
%windir%\system32\cmd.exe /K CD /D \perl\bin
--
Reagan Revision
"We are being told that a competent, trustworthy president is someone
who brandishes his religion like a neon sign, loads a gun and goes out
hunting for beautiful winged creatures, and tries to imitate a past
president who, by the way, never shot a bird or felt the need to imitate
anybody."
~~ Patti Davis Is Not Flattered by GOP Candidates' Pale Imitations of
Her Father
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
"Reagan Revision"
>
> "Caduceus"
> news:dhn7o3hannpg0ugh7okc1t5k466m4gdogb@4ax.com...
>> When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
>> nothing happens. Is there something I can do for this? TIA Steve
>
> In order for the perl command to do anything in my AS installation, I
> have to use a dos prompt in the \perl\bin directory.
>
> To that end, I use the following shortcut:
>
> %windir%\system32\cmd.exe /K CD /D \perl\bin
Uhm, so you develop software with admin rights (sounds like a bad idea).
Also, it *should* work from any location, has been doing so for me for
years.
C:\Documents and Settings\John\My Documents\Amber\Sites\johnbokma.com
\scripts>perl -v
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 50 registered patches, see perl -V for more detail)
[ rest snipped ]
--
John
Arachnids near Coyolillo - part 1
http://johnbokma.com/mexit/2006/05/04/arachnids-coyolillo-1. html
Add the "perl/bin" (whatever it is for your installation, but the default is
"C:\perl\bin" for ActiveState installations) directory in your PATH
environment variable.
"Caduceus"
news:dhn7o3hannpg0ugh7okc1t5k466m4gdogb@4ax.com...
> When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
> nothing happens. Is there something I can do for this? TIA Steve
"Reagan Revision"
>
>"Caduceus"
>news:dhn7o3hannpg0ugh7okc1t5k466m4gdogb@4ax.com...
>> When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
>> nothing happens. Is there something I can do for this? TIA Steve
>
>In order for the perl command to do anything in my AS installation, I have
>to use a dos prompt in the \perl\bin directory.
Well, why don't you add \perl\bin (or whatever your Perl bin directory is)
to your search path? Normally an ActiveState installation will do that
automatically unless you tell it otherwise.
jue
Post removed (X-No-Archive: yes)
still just me
>On Tue, 08 Jan 2008 16:34:38 -0400, Caduceus
>wrote:
>
>>When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
>>nothing happens. Is there something I can do for this? TIA Steve
>
>start a command window, change to the perl directory (e.g. c:\perl)
>and see what happens. If it works, then you have a simple PATH
>problem. You can fix that through windows, by writing a .bat file to
>set the path each time you use perl, or do a re-install and allow the
>install to modify the system path for you.
Any reason why not simply adding the perl bin directory to the path
permanently?
Control Panel -> System -> Advanced -> Environment Variables
jue
Post removed (X-No-Archive: yes)
Caduceus
> On Wed, 09 Jan 2008 17:48:44 GMT, Jürgen Exner
> wrote:
>
>
>>
>>Any reason why not simply adding the perl bin directory to the path
>>permanently?
>>Control Panel -> System -> Advanced -> Environment Variables
>>
>>jue
>
> What do I change the Variables ?
Personally, I would recommend to uninstall Active Perl, and reinstall it.
It /should/ set up your environment etc. correctly. It has done so for me
for years AFAIK.
--
John
http://johnbokma.com/mexit/
Caduceus
>On Wed, 09 Jan 2008 17:48:44 GMT, Jürgen Exner
>>Any reason why not simply adding the perl bin directory to the path
>>permanently?
>>Control Panel -> System -> Advanced -> Environment Variables
>
>What do I change the Variables ?
If you don't know how to add a directory to the path variable after going to
the dialog I pointed out above, then probably you are better of to
re-installing ActiveState Perl and let the setup program set the path
correctly for you.
It _REALLY_ is not rocket science, but your knowledge of computers doesn't
seem to be that deep.
jue
"Jürgen Exner"
news:2hm8o3pb07is3abdh97guc9hn6p2icrrjg@4ax.com...
> "Reagan Revision"
>>
>>"Caduceus"
>>news:dhn7o3hannpg0ugh7okc1t5k466m4gdogb@4ax.com...
>>> When I try to type in perl -v, perl -h,perl -w, or perl -procinv.pl
>>> nothing happens. Is there something I can do for this? TIA Steve
>>
>>In order for the perl command to do anything in my AS installation, I have
>>to use a dos prompt in the \perl\bin directory.
>
> Well, why don't you add \perl\bin (or whatever your Perl bin directory is)
> to your search path? Normally an ActiveState installation will do that
> automatically unless you tell it otherwise.
>
> jue
Du scheinst wiederum Recht zu haben:
http://zaxfuuq.net/perl14.htm
There are so many aspects of AS that I don't understand yet. I swear it
used to be an issue, a big, confusing one. I've gone from a cygwin
installation, to 5.6 to 5.8, and apparently, the path for perl.exe is now
passé.
The above link shows two screendumps to illustrate. The middle image is a
screen capture from a popular movie that I added unintentionally. The clue
is: what is burning?
--
Reagan Revision
"We are being told that a competent, trustworthy president is someone
who brandishes his religion like a neon sign, loads a gun and goes out
hunting for beautiful winged creatures, and tries to imitate a past
president who, by the way, never shot a bird or felt the need to imitate
anybody."
~~ Patti Davis Is Not Flattered by GOP Candidates' Pale Imitations of
Her Father
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
"John Bokma"
news:Xns9A1FE7C9E5D30castleamber@130.133.1.4...
> "Reagan Revision"
>
> Uhm, so you develop software with admin rights (sounds like a bad idea).
Can you elaborate? I use perl as a hobby and don't face issues that say, a
sysadmin might. It sounds like admin rights have to do with the directory
they reside in relative to the bin.
> Also, it *should* work from any location, has been doing so for me for
> years.
Apparently it works for me too.
--
RR
"We are being told that a competent, trustworthy president is someone
who brandishes his religion like a neon sign, loads a gun and goes out
hunting for beautiful winged creatures, and tries to imitate a past
president who, by the way, never shot a bird or felt the need to imitate
anybody."
~~ Patti Davis Is Not Flattered by GOP Candidates' Pale Imitations of
Her Father
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
"Reagan Revision"
> "John Bokma"
> news:Xns9A1FE7C9E5D30castleamber@130.133.1.4...
>> "Reagan Revision"
>>
>
>> Uhm, so you develop software with admin rights (sounds like a bad
>> idea).
> Can you elaborate?
%windir%\system32\cmd.exe /K CD /D \perl\bin
sounds to me that you store your Perl scripts in C:\perl\bin, a directory
which is normally only writeable by someone with Admin rights.
> I use perl as a hobby and don't face issues that
> say, a sysadmin might.
Your computer is connected to the Internet, right? In that case you might
not care about the issues, but others connected to the Internet /do/. Most
spam and other garbage nowadays comes from computers that got infected
because their owner was (and still is) careless.
>> Also, it *should* work from any location, has been doing so for me
>> for years.
> Apparently it works for me too.
That's good to hear. Anyway, I strongly recommend to create another
account for day-to-day use on your computer and make sure you make it have
"limited rights", unless I was mistaken.
--
John
http://johnbokma.com/
Post removed (X-No-Archive: yes)
still just me
> On 11 Jan 2008 14:20:08 GMT, John Bokma
[..]
>>That's good to hear. Anyway, I strongly recommend to create another
>>account for day-to-day use on your computer and make sure you make it
>>have "limited rights", unless I was mistaken.
>
> Unfortunately, unless you are a sysadmin, you likely have to run
> windows as an administrator just to survive. Sort of a catch-22.
That once in a while an action requires Admin rights doesn't mean one has
to work the whole day with such rights.
--
John
http://johnbokma.com/mexit/
still just me wrote:
> On 11 Jan 2008 14:20:08 GMT, John Bokma
>
>>> I use perl as a hobby and don't face issues that
>>> say, a sysadmin might.
>> Your computer is connected to the Internet, right? In that case you might
>> not care about the issues, but others connected to the Internet /do/. Most
>> spam and other garbage nowadays comes from computers that got infected
>> because their owner was (and still is) careless.
>>
>>>> Also, it *should* work from any location, has been doing so for me
>>>> for years.
>>> Apparently it works for me too.
>> That's good to hear. Anyway, I strongly recommend to create another
>> account for day-to-day use on your computer and make sure you make it have
>> "limited rights", unless I was mistaken.
>
> Unfortunately, unless you are a sysadmin, you likely have to run
> windows as an administrator just to survive. Sort of a catch-22.
>
>
My children do not have accounts with admin rights and I only need to
get involved when they new to install something, not very often.
Additionally many corporations do not give admin rights to their
employee owned assets and they survive quite well.
--
Len
"John Bokma"
news:Xns9A2254CB89D7castleamber@130.133.1.4...
> "Reagan Revision"
>
>> I use perl as a hobby and don't face issues that
>> say, a sysadmin might.
>
> Your computer is connected to the Internet, right? In that case you might
> not care about the issues, but others connected to the Internet /do/. Most
> spam and other garbage nowadays comes from computers that got infected
> because their owner was (and still is) careless.
I disagree that spam, garbage or republicans come from others' Perl bin.
Spam comes from England, to complement their cuisine. Garbage comes from
comp.lang.c. Republicans come from AZ.
--
Gerry Ford
"Und es begab sich"
~ BoM, german version
3 Republican Square
251 Michigan Av.
GR, MI 49503
"Gerry Ford"
> I disagree that spam, garbage or republicans come from others' Perl
> bin. Spam comes from England,
If you mean the stuff made by Hormel, that's SPAM(TM).
--
John
http://johnbokma.com/mexit/
"John Bokma"
news:Xns9A2469BFA554Ecastleamber@130.133.1.4...
> "Gerry Ford"
>
>> I disagree that spam, garbage or republicans come from others' Perl
>> bin. Spam comes from England,
>
> If you mean the stuff made by Hormel, that's SPAM(TM).
>
> --
> John
>
> http://johnbokma.com/mexit/
Hormel are excellent corporate citizens in southern Minnesota. And spam
has, unlike unwanted email, a definite use. You don't eat spam except ten
years after you put it in your food storage. That the supermarkets are
closed and there's no other food is the reason that it's delicious. I would
prefer another name for nuisance information.
--
"We are being told that a competent, trustworthy president is someone
who brandishes his religion like a neon sign, loads a gun and goes out
hunting for beautiful winged creatures, and tries to imitate a past
president who, by the way, never shot a bird or felt the need to imitate
anybody."
~~ Patti Davis Is Not Flattered by GOP Candidates' Pale Imitations of
Her Father
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----