From: Simon F. <sf...@fl...> - 2004-03-15 11:54:10
|
Hello, I'd like to release Wx::Perl::TreeChecker with it's new XmlHandler, but I'd like to skip the tests if the user didn't compile xrc. Is this a good way of testing if wxWidgets/wxPerl was compiled with support for XRC? if (eval { require Wx::XRC; 1 }) { # User can use XRC } I've had a quick look in the Wx/build/ folder to see if there might be functions I could use to test for XRC. I couldn't see anything. Thanks --simonflk |