develooper Front page | perl.perl5.porters | Postings from June 2011

[perl #93816] improve documentation for "require VERSION"

Thread Next
From:
Ulrich Windl
Date:
June 30, 2011 16:25
Subject:
[perl #93816] improve documentation for "require VERSION"
Message ID:
rt-3.6.HEAD-16080-1309424810-587.93816-75-0@perl.org
# New Ticket Created by  "Ulrich Windl" 
# Please include the string:  [perl #93816]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=93816 >


This is a bug report for perl from Ulrich.Windl@rz,uni-regensburg.de,
generated with the help of perlbug 1.35 running under perl v5.8.8.


-----------------------------------------------------------------
[Please enter your report here]
Message "... version 6.2 required--this is only version 6.10..."

It's not well-described in "man perlfunc" how versions are actually compared.
When using RCS-like software to update the version number, expectations are
that RCS' ascending version numbers would be treated numerically as well in
Perl. It seems, they aren't. I ran into a problem after making a change from
version 6.9 to 6.10 (see above).

Reading the documenatatio nafterwards did not help much how perl actually compares numbers.

Regards
Ulrich Windl
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=docs
    severity=high
---
Site configuration information for perl v5.8.8:

Configured by perl at Fri Nov 28 11:36:29 IST 2008.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-thread-multi
    uname='hp-ux buzz b.11.23 u ia64 3101164512 unlimited-user license '
    config_args='-Dmksymlinks -ders -Dcc=cc -Dusethreads -Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Dsh=/usr/bin/sh -Dd_attribut=undef -Dd_attribute_warn_unused_result=undef -Dd_u32align=define -Aprepend:libswanted=cl  -Dvendorprefix=/opt/perl_32 -Accflags=+DSitanium2 -Doptimize=-fast +Ofltacc=strict -Accflags=+Z -Accflags=-DUSE_SITECUSTOMIZE -Duselargefiles -Accflags=-DNO_HASH_SEED -Dprefix=/opt/perl_32 -Dinc_version_list=5.8.7/$archname 5.8.7 5.8.6/$archname 5.8.6 5.8.4/$archname 5.8.4 5.8.3/$archname 5.8.3 5.8.2/$archname 5.8.2 5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0 -Dsed=/usr/bin/sed -Duseshrplib -Dconfig_heavy=Config_dynamic.pl'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=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='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
    optimize='-fast +Ofltacc=strict',
    cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' -L/usr/lib/hpux32'
    libpth=/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
    libs=-lcl -lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread -lc
    perllibs=-lcl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
    libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux32'

Locally applied patches:
    

---
@INC for perl v5.8.8:
    /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi
    /opt/perl_32/lib/5.8.8
    /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi
    /opt/perl_32/lib/site_perl/5.8.8
    /opt/perl_32/lib/site_perl
    /opt/perl_32/lib/vendor_perl/5.8.8/IA64.ARCHREV_0-thread-multi
    /opt/perl_32/lib/vendor_perl/5.8.8
    /opt/perl_32/lib/vendor_perl
    .

---
Environment for perl v5.8.8:
    HOME=/home/windl
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/ipf/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/sec_mgmt/bastille/bin:/opt/resmon/bin:/opt/gnome/bin:/usr/bin/X11:/opt/ignite/bin:/usr/contrib/kwdb/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/graphics/common/bin:/opt/sec_mgmt/spc/bin:/opt/java1.4/jre/bin:/opt/spb/bin:/opt/hpsmh/bin:/opt/upgrade/bin:/opt/gwlm/bin:/opt/ssh/bin:/usr/contrib/bin/X11:/opt/perl/bin:/opt/sas/bin:/opt/atok/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/sfm/bin:/opt/swm/bin:/opt/swa/bin:/opt/hp-gcc/bin:/opt/drd/bin:/opt/prm/bin:/opt/langtools/bin:/opt/firefox:/opt/propplus/bin:/opt/perl_32/bin:/opt/perl_64/bin:/opt/caliper/bin:/opt/sentinel/bin:/opt/gvsd/bin:/opt/hp-gcc/bin:/opt/langtools/bin
    PERL_BADLANG (unset)
    SHELL=/usr/bin/csh



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About