Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Variable as module name? (modern perl)

by Anonymous Monk
on Feb 01, 2013 at 23:27 UTC ( #1016627=note: print w/replies, xml ) Need Help??


in reply to Variable as module name?

Module::Pluggable, if

stupid pet tricks :)

$ perl -we " use if eval{require CGI}, our $cgi = 'CGI'; print $cgi->n +ew->header " Content-Type: text/html; charset=ISO-8859-1

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016627]
help
Chatterbox?
[1nickt]: choroba I'm trying to make a cpanfile for pm-cb ... how to handle the MCE vs Thread::Queue question? Maybe with on 'build' => sub { if ($threaded_perl) { requires 'Thread::Queue' } else { requires 'MCE' } ?
choroba isn't sure
[choroba]: I plan to break the monolith into modules and create a CPAN App distribution, but I haven't expolored the details yet

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2017-10-18 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?