my $version = ${"${class}::CVS_VERSION"} || next;
That's a bit more standard, and it's clearer what you mean ( what's in $class follwed by "::CVS_VERSION" rather than $class::CVS_VERSION) than just backwhacking the colon.
In reply to ITYM
by Fletch
in thread 'reflection', aka traversing symbol tables
by d_i_r_t_y
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |