wa5nti has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks – I just bought the book titled “Beginning Perl” by Curtis Poe. After reading up to page 11, I decided to uninstall my WinXP machine’s “ActiveState Perl” and install “Strawberry-perl 5.20.2.1” to replace it, because Curtis Poe says in his book that he uses Strawberry for most of the examples in the book.
I seem to have 'Win32 Strawberry-perl 5.20.2.1’ partially installed now.
The problem is: Perl does NOT seem to be running properly.
I suspect that the problem may stem from the fact that when I installed Strawberry, I did not install it on the normal “C:\” drive (that disk is quite full) – I took the install option that was offered to me at install time and installed Strawberry Perl on my “H:\” disk drive.
This is a new installation of perl on this machine – I’ve never used perl before.
I’m in a CMD or DOS window on my Windows XP machine
The system responds with: C:\Documents and Settings\Kelley McCarty>
I type perl –v
The system then responds with” This is perl 5, version 20, subversion 2 <v5.20.2> built for MSWin32-x86-multi-thread-64int Copyright 1987-2015, Larry Wall ……………..
The system then responds with: C:\Documents and Settings\Kelley McCarty>
I type perldoc –v perldoc The system then responds with:’perldoc’ does not look like a Perl variable
Next I type perldoc perl
The system then responds with:”Error in tempfile%lt;> using template C:\WINDOWS\TEMP \XXXXXXXXXX: Could not create l/lib/Pod/Perldoc.pm line 1888.
Why are these two commands not being executed like the “Beginning Perl book by Curtis “Ovid Poe” says they should on page 11 ?
-- Terry McCarty
3t3@comcast.net
--- wa5nti---
Summary of my perl5 (revision 5 version 20 subversion 2) configuration +: Platform: osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64in +t uname='Win32 strawberry-perl 5.20.2.1 #1 Sat Feb 21 12:32:00 2015 +i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPER +L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-stri +ct-aliasing -mms-bitfields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.8.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='lo +ng long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"H:\Data\perl\lib\CORE" -L"H:\Data\c\lib" +' libpth=H:\Data\c\lib H:\Data\c\i686-w64-mingw32\lib H:\Data\c\lib\ +gcc\i686-w64-mingw32\4.8.3 libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 +-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -l +mpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl +g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl520.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"H:\Data\perl\lib\CORE" -L"H +:\Data\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Feb 21 2015 12:36:01 @INC: H:/Data/perl/site/lib H:/Data/perl/vendor/lib H:/Data/perl/lib .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strawberry Perl NOT running properly
by Corion (Patriarch) on Apr 19, 2015 at 09:16 UTC | |
|
Re: Strawberry Perl NOT running properly
by dave_the_m (Monsignor) on Apr 19, 2015 at 10:56 UTC | |
by dave_the_m (Monsignor) on Apr 19, 2015 at 15:37 UTC | |
|
Re: Strawberry Perl NOT running properly
by Don Coyote (Hermit) on Apr 19, 2015 at 15:25 UTC | |
|
Re: Strawberry Perl NOT running properly
by Laurent_R (Canon) on Apr 19, 2015 at 14:48 UTC |