Skip Menu |

This queue is for tickets about the Class-WhiteHole CPAN distribution.

Report information
The Basics
Id: 1996
Status: resolved
Priority: 0/
Queue: Class-WhiteHole

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: bug in t\WhiteHole.t (portability issue)
Line 60 goes like my $ok = $@ eq qq{Can\'t locate object method "bar" via package "Test" at t/WhiteHole.t line 57.\n}; which doesn't work in the world of windows (probabl other operating systems as well), which is why you should use __FILE__, like my $ok = $@ eq qq{Can\'t locate object method "bar" via package "Test" at }.__FILE__.qq{ line 57.\n};
[PODMASTER - Tue Jan 28 03:31:02 2003]: Show quoted text
> Line 60 goes like > > my $ok = $@ eq qq{Can\'t locate object method "bar" via package "Test" > at t/WhiteHole.t line 57.\n}; > > which doesn't work in the world of windows (probabl other operating > systems as well), which is why you should use __FILE__, like > > my $ok = $@ eq qq{Can\'t locate object method "bar" via package "Test" > at }.__FILE__.qq{ line 57.\n};
Apparently I fixed this two and a half years ago but somehow never uploaded 0.04. Its on its way to CPAN now.