> When the file is included, the 'use's are executed IMMEDIATELY. The fact > that they're in functions doesn't matter. The require()s will not be > executed until (and unless) the functions they are in are called. >
Thanks alot Jeff, I think I can target my question now... What I want to ask are : When Perl read my code, if in 'use' case, would it load everything existed in my modules, and won't care on how I defined the use and require method in my if (...) {...} case ? If in 'require' case, is that mean those modules, libs will only be loaded when I call a certain sub, with aware on how I define for what to use and require ? Rgds, Connie -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]