al mode of operation). However, the program also has a
"batch" mode (for users than don't have a X environment available, like
the one that access to the machine where the program executes through
SSH and don't want or are unable to export the X environment). So I need
conditional m
: +34 93 645 29 12
Fax : +34 93 645 29 01
Email address: fermin dot galan at cttc dot es
Mumia W. escribió:
On 08/07/2007 10:18 AM, Fermín Galán Márquez wrote:
Hi!
I'm trying to introduce conditional module loading in a Perl program,
but I'm experiencing problems. For example:
[...]
On 8/7/07, Fermín Galán Márquez <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm trying to introduce conditional module loading in a Perl program,
> but I'm experiencing problems. For example:
>
> ...
> if ($some_condition) {
> use ModuleA;
> (doing some
On 08/07/2007 10:18 AM, Fermín Galán Márquez wrote:
Hi!
I'm trying to introduce conditional module loading in a Perl program,
but I'm experiencing problems. For example:
[...]
"Use" is done at compile-time, so both modules will have been loaded
before the if statement i
On Aug 7, 11:18 am, [EMAIL PROTECTED] (Fermin Galan) wrote:
> I'm trying to introduce conditional module loading in a Perl program,
> but I'm experiencing problems. For example:
>
> if ($some_condition) {
> use ModuleA;
> (doing something using ModuleA)}
Hi!
I'm trying to introduce conditional module loading in a Perl program,
but I'm experiencing problems. For example:
...
if ($some_condition) {
use ModuleA;
(doing something using ModuleA)
}
else {
use ModuleB;
(doing something using ModuleB)
}
That is, if $some_co