in reply to use of modules in special cases

Sorry, by accident I wrote anonymous.

It's all object oriented in my case. Here an update for special case 1. I'm calling a class method of B. B has an abstract constructor. So it is not possible to create a B object.

Replies are listed 'Best First'.
Re^2: use of modules in special cases
by soonix (Chancellor) on Dec 22, 2019 at 12:46 UTC
    Would it be possible to have B1 or B2 inherit this class method, so that you can call it as a subclass method?
    Then you wouldn't need to use B
Re^2: use of modules in special cases
by LanX (Saint) on Dec 22, 2019 at 12:36 UTC
    > I'm calling a class method of B.

    How? Please show code.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice