<URL: https://rt.cpan.org/Ticket/Display.html?id=56681 >

On Fri Apr 16 18:01:50 2010, WYANT wrote:

> This appears to be because regular expressions have become first-class
> objects under 5.12, so UNIVERSAL::isa($thingy,'SCALAR'), which was true
> under 5.10 when $thingy contained a reference to a regexp, is false
> under 5.12.

It is not valid to use UNIVERSAL::isa in this way:
1. isa is only a (object or class) method, not a function - it must have an 
invocant
2. isa should only properly be used for class names or blessed objects, not for 
base types -- to check the base type of a reference, use Scalar::Util::reftype.

Is the repository in git yet? If so, I can provide patches. thank you!

Reply via email to