我试图找出我的Camelbox Perl正在运行的Perl版本,因为我想要相同版本的Strawberry Perl。 Strawberry Perl的版本为5.10.0.0至5.10.0.6。我有哪一个?
C:\camelbox\bin> perl -v | perl -ne "print if $.==2"
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
C:\camelbox\bin> perl -E "say $]"
5.010000
编辑:
C:\camelbox\bin>perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='3.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"C:\camelbox\lib\CORE" -L"C:\camelbox\lib"'
libpth=C:\camelbox\lib
libs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
perllibs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"C:\camelbox\lib\CORE" -L"C:\camelbox\lib"'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS
USE_LARGE_FILES USE_PERLIO
Built under MSWin32
Compiled at Apr 22 2009 11:23:56
@INC:
C:/camelbox/lib
C:/camelbox/site/lib
.
答案 0 :(得分:6)
没有Camelbox与Strawberry完全匹配。 5.10.0.6是第7个(从0开始)草莓释放5.10.0。草莓5.10.0.6和Camelbox 5.10.0应该是相同的,虽然它们将有不同的错误修复并随附不同的模块。你必须为草莓编译Gtk2,here's a discussion on that。
如果可能,您应该至少升级到5.10.1。它包含大量错误修复以及incompatible changes to the smart match operator (~~
)。不幸的是,我看到Camelbox没有升级。 : - /