Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Creating dynamic parent/child relationships

by talexb (Chancellor)
on Sep 03, 2019 at 17:12 UTC ( [id://11105519]=note: print w/replies, xml ) Need Help??


in reply to Creating dynamic parent/child relationships

May not be appropriate, but you can use the if pragma to conditionally load a module.

use if $some_condition, Three;
(That's page 1019 in the Fourth Edition of The Camel, in case you have a dead tree version, which I do.)

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found