nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

warning "Misplaced _ in number" not respected #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

> perlcc -O3 -r -e 'use warnings qw/syntax/; use version; $withversion::VERSION 
= undef; eval q/package withversion 1.1_;/; print $@;'
Invalid version format (no underscores) at (eval 1) line 1, near "package 
withversion "
syntax error at (eval 1) line 1, near "package withversion 1.1_"

What is the expected output? What do you see instead?

>perl -e 'use warnings qw/syntax/; use version; $withversion::VERSION = undef; 
eval q/package withversion 1.1_;/; print $@;'
Misplaced _ in number at (eval 2) line 1.
Invalid version format (no underscores) at (eval 2) line 1, near "package 
withversion "
syntax error at (eval 2) line 1, near "package withversion 1.1_"

Please use labels and text to provide additional information.

Original issue reported on code.google.com by nicolas....@gmail.com on 3 Dec 2013 at 12:01

GoogleCodeExporter commented 9 years ago

Original comment by reini.urban on 4 Dec 2013 at 4:08

GoogleCodeExporter commented 9 years ago
this is now fixed with * 9493e7c  1.43_02: Fix empty shared heks finally

> perlcc -O3 -r -e 'use warnings qw/syntax/; use version; $withversion::VERSION 
= undef; eval q/package withversion 1.1_;/; print $@;'
Misplaced _ in number at (eval 1) line 1.

Original comment by nicolas....@gmail.com on 30 Jan 2014 at 11:30

GoogleCodeExporter commented 9 years ago

Original comment by reini.urban on 31 Jan 2014 at 7:09

GoogleCodeExporter commented 9 years ago

Original comment by nicolas....@gmail.com on 6 Feb 2014 at 8:26