"Steve Cookson" <steve.cook...@sca-uk.com> writes: > Question 1: Does it really need two "use strict"s, clearly you can > never have enough, but doesn't the first one have a greater scope than > the second is not necessary.
The wxGlade code generator for Perl is sub-optimal. It works, basically, mostly, and is very useful but do not expect fine-tuned source code. I've made several enhancements to the Perl code generators but noone else seems to be interested in maintenance and development of the Perl components. But except for XRC, there's no alternative (AFAIK). > Question 2: on "use Wx", again, doesn't the first "use Wx" just cause > a crash if you have wxWidgets less than 0.15, which is unlikely these > days, but "use Wx qw[:everything];" should be enough? Yes, the requirement for 0.15 is ancient and I'm not sure if that old a version will still work. We might as well increase the minimal version to something more modern, but that may break existing code. It would, however, be possibile to relate the minimal version to the application choice of Wx 2.6, 2.8 or 3.0. Also, there is a difference between :allclasses and :everything, see http://wiki.wxperl.nl/WxEXPORTS . -- Johan