Help for this page
my $version; BEGIN { $version = shift || whatever(); } use if 1 == $version, 'interface1'; use if 2 == $version, 'interface2';