Help for this page
use LayerB2; use LayerB;
BEGIN { if ($version == 2) { eval "use LayerB2"; ... } die $@ if $@; }