Re: using modules in if...else

2003-10-27 Thread Mark Hawkes
At 11:04 2003-10-27 +0100, you wrote: At 09:49 2003-10-27 +0600, you wrote: Hello! I have a problem and can't get it how to solve it. When I'm using 'use Module;' in if..elsif statement I've got situation when all modules is included. 'use' loads modules at compile time. To load modules conditional

Re: using modules in if...else

2003-10-27 Thread Xavier Noria
El lunes, 27 octu, 2003, a las 11:04 Europe/Madrid, Mark Hawkes escribió: At 09:49 2003-10-27 +0600, you wrote: Hello! I have a problem and can't get it how to solve it. When I'm using 'use Module;' in if..elsif statement I've got situation when all modules is included. 'use' loads modules at co

Re: using modules in if...else

2003-10-27 Thread Mark Hawkes
At 09:49 2003-10-27 +0600, you wrote: Hello! I have a problem and can't get it how to solve it. When I'm using 'use Module;' in if..elsif statement I've got situation when all modules is included. 'use' loads modules at compile time. To load modules conditionally, at runtime, try 'require' instead

using modules in if...else

2003-10-26 Thread Andrey A. Kudrin
Hello , Hello! I have a problem and can't get it how to solve it. When I'm using 'use Module;' in if..elsif statement I've got situation when all modules is included. For example (from code snippets bellow) if I call edit_info it makes My::Info and My::Setting to be used and I can't use global var