Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: perl module structure (Perl ne Java)

by LanX (Saint)
on Mar 30, 2018 at 13:34 UTC ( [id://1212034]=note: print w/replies, xml ) Need Help??


in reply to Re^2: perl module structure (Façade choosing backend)
in thread perl module structure

> I’m looking for general solution

Sorry, this sounds like you are looking for a way to do Java in Perl. Many answers in the Java world don't apply to Perl because the questions don't arise.

And it's not clear for me HOW the implementation should be chosen. automatically or by users choice.

> List is an interface and there are multiple concrete implementations.

Not an issue in Perl because it doesn't have static typing of the list elements.

> I think what I’d like to do ...

Please think harder what you want and show some Perl code exemplifying it.

Most of us don't "speak" Java... ;-)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

  • Comment on Re^3: perl module structure (Perl ne Java)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1212034]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-14 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found