Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Creating dynamic parent/child relationships

by talexb (Canon)
on Sep 03, 2019 at 17:12 UTC ( #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
Node Status?
node history
Node Type: note [id://11105519]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2021-01-25 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?