How can you get perl to not check for modules that are loaded conditionaly? In the example below perl would still error on the Tk module(s) if they are not installed. I'm basically coding to support both a GUI and command line mode, eventually across a couple of platforms.
~snip~ $runmode eq "cmdline"; if ($runmode eq "GUI") { use Tk; use Tk::HList; use Tk::Text; } use DBI; use Term::ReadKey; use Term::ReadLine; ~snip~ _______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs