[Israel.pm] question about compiler

Levenglick Dov-RM07994 DovL at freescale.com
Thu Nov 24 05:21:51 PST 2005


Hi,
I have a package that I wrote (Foo) and now want to reuse. The problem is that it uses another package (Bar) that was existent for the application that Foo was originally written for, but not for the current one.
Is there a way for me to conditionally use Bar?

package Foo;

If <condition>
use Bar;
Endif 

.
.
.
1;



Best Regards,
Dov Levenglick
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
Tel. +972-9-952-2804
The information contained in this email is classified as:
[ ] General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Propriety
[x] Personal Memorandum



More information about the Perl mailing list