It appears that if you pass a globref that has a code component to Devel::Size::total_size(), and warnings are enabled, it always issues the "CV isn't complete" message.
Which seems like a non-useful behaviour to me?
#! perl -slw use strict; use Devel::Size qw[ total_size ]; our $GLOB; *GLOB = sub{ print "@_" }; print total_size \*GLOB; __END__ P:\test>junk CV isn't complete 291
In reply to Re^2: Error(?): "CV isn't complete"?
by BrowserUk
in thread Error(?): "CV isn't complete"?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |