If I do:

require My::Class

then it works.  But it does not work if I do:

my $classname = 'My::Class'
require $classname

Most of my code uses $classname for all my Rose functions but I'd like to
only "require" if required (if you see what I mean).  Is it not possible?

Sorry if this is a PERL q. rather than a Rose q. but it arose because of the
way Rose works.  Thanks for any advice.


-------------------------------------------------------------------------
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

Reply via email to