<%args> $gallery $image => undef <%init> if ($image) { $m->comp( 'image.mas', %ARGS ); } else { $m->comp( 'gallery.mas', %ARGS ); }