HI howdy again!

I forgot to ask:

Whenever I've tried to do:

 eval { use module; };
        if($@) .....

It always fails and I can't trap it it to , say, try a different module if it's not 
found or otherwise do anythign, (like tell a web browser user they need a certain 
module for it to work:

        print header();
        eval { use Monkey; };
        die "You need Monkey Module installed" if $@;

        will always give a 500 error because ethe header() never gets printed because 
all the use statements are done firat and fail first or something lkike that. 

Is there any way to accomplish the above exampl, IE eval a use Module; statement 
and be able to do something with that knowledge?

TIA

Dan

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

Reply via email to