in reply to Prototype mismatch: sub B::OP::size: none vs () at

If you want to get rid of the warning, you can use:
no warnings qw(syntax);
I hope there's a more specific form for "prototype", but I can't make out the docs past "syntax". (I'm not sure if you want to do this inside a block, or for the whole script. See warnings for more info.)

-QM
--
Quantum Mechanics: The dreams stuff is made of