Skip Menu |

This queue is for tickets about the SVN-Dump CPAN distribution.

Report information
The Basics
Id: 24032
Status: resolved
Priority: 0/
Queue: SVN-Dump

People
Owner: Nobody in particular
Requestors: cpan [...] fireartist.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: 0.08



If I try doing SVN::Dump->new({ fh => $fh }) where $fh is an IO::File or IO::Handle object, I get a fatal error because of the GLOB check (Reader.pm lines 22,23) However, if I comment out the GLOB check, the Reader works as expected for both IO::File and IO::Handle objects. I think it's generally preferred to use a block eval(), and check that the argument can do what you expect, rather than using ref(). However, I'm not sure what the best test would be here - hence no patch! btw, thanks for a great module - it's helped me immensely.