in reply to Troubles when trying to use Tk conditionally
What if I wanted to allow non-Windows users to use the Tk gui if they are willing to install Tk themselves?
Could I just do if ($gui eq "on") {require Tk} and simply sidestep compile-time checking of the module's availability? I could set the $gui variable based on the platform *and* the user's settings.
Could I just do if ($gui eq "on") {require Tk} and simply sidestep compile-time checking of the module's availability? I could set the $gui variable based on the platform *and* the user's settings.
In Section
Seekers of Perl Wisdom