
KevinR
Veteran

Mar 7, 2009, 7:16 PM
Post #2 of 2
(4110 views)
|
Re: [pozvanete] 2 Address module via variable- is there a way?
[In reply to]
|
Can't Post
|
|
With require it is:
$my_module = 'new_pm'; if($my_module eq 'new_pm'){require $my_module ; } There is also the "if" pragma: http://perldoc.perl.org/if.html -------------------------------------------------
|