----- Original Message ---- From: James Masters <[EMAIL PROTECTED]> > my $classname = 'My::Class' > require $classname
Please see "perldoc -f require". It explains the problem you are having. You can fix it with the following: my $classname = 'My::Class'; eval "require $classname"; if ( my $error = $@ ) { die "Could not require ($classname): $error"; } Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object