Changes for version 0.101 - 2013-03-08

  • (Documentation) Show how IO::Detect's constants can be used with Scalar::Does's does() function.
  • IO::Detect now performs the same namespace::clean trickery as Scalar::Does to fake lexical subs.
  • Improve test suite cleanliness; use Test::Requires, etc.
  • does($class, $overloaded_operation) no longer returns true. does($instance, $overloaded_operation) still works of course!
  • use lexical::underscore instead of directly mucking around with PadWalker.

Modules

is this a frickin' filehandle or what?!
like ref() but useful
additional constants for Scalar::Does, inspired by the built-in Moose type constraints

Provides

in lib/IO/Detect.pm
in lib/Scalar/Does.pm