bikeNomad has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (subroutines)
But if I try to do a 'use OptionalPackage;' my program dies if it doesn't exist. How do I deal with this?
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Defining a subroutine one of two ways depending on whether a package exists⭐
by ariels (Curate) on Jun 08, 2001 at 11:01 UTC | |
|
Re: Defining a subroutine one of two ways depending on whether a package exists
by bikeNomad (Priest) on Jun 07, 2001 at 22:26 UTC | |
|
Re: Defining a subroutine one of two ways depending on whether a package exists
by bikeNomad (Priest) on Jun 07, 2001 at 22:56 UTC | |
|
Re: Defining a subroutine one of two ways depending on whether a package exists
by bimleshsharma (Beadle) on Nov 16, 2011 at 06:45 UTC |