>From: "Ian Brayshaw" <[EMAIL PROTECTED]> </snipped>
>Because you'll go blind... So apart from risking blindness (roll on neural taps...), and the fact that I have no style.... #!/usr/local/perl5/bin/perl -w use strict; my $objtype = "Object1"; my $class = 'Report::' . $objtype; eval 'require ' . $class; my $myobject = $class->new(); exit; Should be OK (and yes, it does work). Any further objections? Rob _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com