Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use NAME VERSION should parse with scan_version #10142

Open
p5pRT opened this issue Feb 8, 2010 · 2 comments
Open

use NAME VERSION should parse with scan_version #10142

p5pRT opened this issue Feb 8, 2010 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 8, 2010

Migrated from rt.perl.org#72612 (status was 'open')

Searchable as RT72612$

@p5pRT
Copy link
Author

p5pRT commented Feb 8, 2010

From @xdg

Created by @xdg

The version number argument to 'use NAME VERSION' is parsed
as a number. It would be more correct to parse it using the
scan_version and the lax version number rule. Making such a
change means finding all the places that expect the parsed
VERSION to be a dual-var and changing them to expect a version
object.

This is a non-blocking continuation of #70866.

Perl Info

Flags:
    category=core
    severity=medium

Site configuration information for perl 5.11.4:

Configured by david at Wed Jan 20 12:40:25 EST 2010.

Summary of my perl5 (revision 5 version 11 subversion 4) configuration:
   
  Platform:
    osname=linux, osvers=2.6.31-18-generic, archname=x86_64-linux-ld
    uname='linux vulcan 2.6.31-18-generic #55-ubuntu smp fri jan 8 14:54:52 utc 2010 x86_64 gnulinux '
    config_args='-de -Dusedevel -Dprefix=/opt/perl/v5.11.4 -Dusemorebits -Uversiononly -Dmydomain=.hyperbolic.net -Dcf_email=xdaveg@gmail.com -Dperladmin=dagolden.cpan.org -Dcc=ccache gcc'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='ccache gcc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.1', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8
    alignbytes=16, prototype=define
  Linker and Libraries:
    ld='ccache gcc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.10.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.10.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'

Locally applied patches:
    


@INC for perl 5.11.4:
    /opt/perl/v5.11.4/lib/site_perl/5.11.4/x86_64-linux-ld
    /opt/perl/v5.11.4/lib/site_perl/5.11.4
    /opt/perl/v5.11.4/lib/5.11.4/x86_64-linux-ld
    /opt/perl/v5.11.4/lib/5.11.4
    .


Environment for perl 5.11.4:
    HOME=/home/david
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LC_COLLATE=C
    LC_CTYPE=en_US.UTF-8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=.:~/bin:~/git/utility-scripts:/opt/perl/5.10.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    PERLPATH=/opt/perl/5.10.1/bin
    PERL_BADLANG (unset)
    PERL_EXTUTILS_AUTOINSTALL=--default-deps
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Feb 8, 2010

@xdg - Status changed from 'new' to 'open'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants