jesuashok has asked for the wisdom of the Perl Monks concerning the following question:
In perl code some time we used to give the statments like
my $result = $one || $two;
Every perl lovers what the above perl statement does.
Here my question begins.
use Module1 || Module2
use Module1 && Module2
Perl Module2 is going to do soem generic activities if Module1 is not installed in the System. this is what my
objetive.
I am damn sure that there could be a valid reason why that is not acceptable in perl
I am eager to know the answers from all perl lovers !perl haters. :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Using the perl modules depends upon the availability of another module.
by ikegami (Patriarch) on Dec 08, 2005 at 07:41 UTC | |
by PodMaster (Abbot) on Dec 08, 2005 at 08:15 UTC | |
by ikegami (Patriarch) on Dec 08, 2005 at 15:02 UTC | |
Re: Using the perl modules depends upon the availability of another module.
by tye (Sage) on Dec 08, 2005 at 09:19 UTC |