Hello,

Ich would like to load dynamically a Perl class (late binding).

For example, if I start a Perl script with a command line parameter like
--sport=SWIMMING, I would like to have something like that (after having saved
SWIMMING via $opt_sport in variable $aSport):

my $aSport = $opt_sport;
use Classes::$aSport;  <----- doesn't work !

Who knows a solution. Many thanks.

Olivier

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to