Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Factory classes in Perl

by Bod (Parson)
on Jan 11, 2021 at 22:52 UTC ( [id://11126767]=note: print w/replies, xml ) Need Help??


in reply to Re: Factory classes in Perl
in thread Factory classes in Perl

Making the example a bit more realistic

What??? You don't have Robo-Reindeer pulling your sleigh?

are in fact a *nix Reindeer and a MSWin Reindeer

Ah yes!
I totally understand when a Factory Class would be useful now. Not necessarily because of what modules are or are not installed but because of the environment in which the script might find itself with different OS, hardware, drivers or even other software...

Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-06-18 05:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.