develooper Front page | perl.perl5.porters | Postings from March 2007

B lint error with 'make test' on 5.8.x@30588

Thread Next
From:
Jerry D. Hedden
Date:
March 14, 2007 21:49
Subject:
B lint error with 'make test' on 5.8.x@30588
Message ID:
212318.78640.qm@web30206.mail.mud.yahoo.com
During 'make test', I'm getting the following for 5.8.x@30588 under
Cygwin:

ext/B/t/lint....................................# Failed at
../ext/B/t/lint.t line 32
#      got 'Implicit scalar context for array in shift at ../lib/B.pm
line 114
# Implicit scalar context for array in shift at ../lib/B.pm line 70
# Implicit scalar context for array in shift at ../lib/B.pm line 269
# Implicit scalar context for array in shift at ../lib/B.pm line 261
# Implicit scalar context for array in shift at ../lib/B.pm line 262
# Use of $_ at ../lib/B.pm line 262
# Use of $_ at ../lib/B.pm line 263
# Implicit scalar context for array in shift at ../lib/B.pm line 274
# Implicit scalar context for array in shift at ../lib/B.pm line 284
# Use of $_ at ../lib/B.pm line 295
# Use of $_ at ../lib/B.pm line 296
# Use of $_ at ../lib/B.pm line 302
# Implicit scalar context for array in shift at ../lib/B.pm line 279
# Implicit scalar context for array in shift at ../lib/B.pm line 167
# Implicit scalar context for array in shift at ../lib/B.pm line 104
# '
# expected ''
# Failed at ../ext/B/t/lint.t line 32
#      got 'Implicit scalar context for array in shift at ../lib/B.pm
line 114
# Implicit scalar context for array in shift at ../lib/B.pm line 70
# Implicit scalar context for array in shift at ../lib/B.pm line 269
# Implicit scalar context for array in shift at ../lib/B.pm line 261
# Implicit scalar context for array in shift at ../lib/B.pm line 262
# Use of $_ at ../lib/B.pm line 262
# Use of $_ at ../lib/B.pm line 263
# Implicit scalar context for array in shift at ../lib/B.pm line 274
# Implicit scalar context for array in shift at ../lib/B.pm line 284
# Use of $_ at ../lib/B.pm line 295
# Use of $_ at ../lib/B.pm line 296
# Use of $_ at ../lib/B.pm line 302
# Implicit scalar context for array in shift at ../lib/B.pm line 279
# Implicit scalar context for array in shift at ../lib/B.pm line 167
# Implicit scalar context for array in shift at ../lib/B.pm line 104
# '
# expected ''
FAILED at test 15

However, there are no errors when I run it manually:
    ./perl -Ilib ext/B/t/lint.t


The failing test in lint.t is:
    runlint 'dollar-underscore', 'sub foo {}; foo( $_ ) for @A',     
'';

Anybody have a clue?


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

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