in reply to using 'use' conditionally

This is basically a reply to everyone who suggested something like:
eval { use Tk; } if($@){ goto &cli } else { MainLoop(); }
And the problem is that it takes control away from the user. What if i have Tk, but i don't want to use the bloody tk interface?

Replies are listed 'Best First'.
Re: Re: using 'use' conditionally
by boo_radley (Parson) on Nov 06, 2002 at 02:22 UTC

    BUU asks :

    What if i have Tk, but i don't want to use the bloody tk interface?
    Then you probably wouldn't be specifying it using the -g option, as given in the original question.