Skip Menu |

This queue is for tickets about the Test-Aggregate CPAN distribution.

Report information
The Basics
Id: 96632
Status: new
Priority: 0/
Queue: Test-Aggregate

People
Owner: Nobody in particular
Requestors: OPI [...] cpan.org
Cc: torsten.foertsch [...] gmx.net
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: torsten.foertsch [...] gmx.net
Subject: prototype mismatch
In T::A::Base line 21 a function without prototype is assigned to *CORE::GLOBAL::exit. This function prints out a warning and calls the original exit(). If exit() has not been overwritten, that's fine. However, if another module has already overwritten exit() and if it has used the correct prototype (;$), the assignment in T::A::Base causes 1-2 warnings: * Subroutine CORE::GLOBAL::exit redefined * Prototype mismatch: sub CORE::GLOBAL::exit (;$) vs none I think the best solution is to just turn off warnings before the assignment.