Exposing my ignorance, wanting help with use!

dakkar dakkar at thenautilus.net
Wed Feb 14 15:08:37 GMT 2007


Peter Hickman wrote:
>        eval {
>            require $class;
>            $self->{dispatcher}->add_dispatcher( $handler,
> $class->new($config) );

You would need an eval-string of the "require":
    eval "require $class";

cfr. perldoc -f require

-- 
	Dakkar - <Mobilis in mobile>
	GPG public key fingerprint = A071 E618 DD2C 5901 9574
	                             6FE2 40EA 9883 7519 3F88
	                    key id = 0x75193F88


More information about the london.pm mailing list