Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
Domain Nodelet?
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 examining the Monastery: (10)
As of 2021-10-22 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?