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

[perl #3176] fixed in Perl 5.10

From:
renee.baecker
Date:
June 7, 2008 11:14
Subject:
[perl #3176] fixed in Perl 5.10
Message ID:
20080607181414.AC8EF99C0BD@rserv16.sitepush.net
This issue seems to be fixed in Perl 5.10 (but it isn't fixed in Perl
5.8.8):

reneeb@reneeb-desktop:~/bugs$ perl 3176.pl
External.pm loaded ok
[generated] line 1: package Internal;
[generated] line 2:
[generated] line 3: sub foo {
[generated] line 4:  (0)
[generated] line 5: }
[generated] line 6:
[generated] line 7: sub testing {
Semicolon seems to be missing at /loader/0x8153918/Internal.pm line 6.
[generated] line 8:  print "Internal.pm loaded ok\n";
[generated] line 9: }
[generated] line 10:
[generated] line 11: 1;
Number found where operator expected at /loader/0x8153918/Internal.pm
line 11, near "1"
        (Missing semicolon on previous line?)
syntax error at /loader/0x8153918/Internal.pm line 7, near "testing "
Missing right curly or square bracket at /loader/0x8153918/Internal.pm
line 11, at end of line
Compilation failed in require at 3176.pl line 46.
reneeb@reneeb-desktop:~/bugs$ /opt/perl510/bin/perl 3176.pl
External.pm loaded ok
[generated] line 1: package Internal;
[generated] line 2:
[generated] line 3: sub foo {
[generated] line 4:  (0)
[generated] line 5: }
[generated] line 6:
[generated] line 7: sub testing {
[generated] line 8:  print "Internal.pm loaded ok\n";
[generated] line 9: }
[generated] line 10:
[generated] line 11: 1;
Internal.pm loaded ok
reneeb@reneeb-desktop:~/bugs$

Cheers,
Renee






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