Hi Guys,

Can I ask you some really basic questions, which I should know the answer to
by now!!

Here is a bit of code from wxGlade (the new one, natch).  

use Wx 0.15 qw[:allclasses];
use strict;

# begin wxGlade: dependencies
# end wxGlade

# begin wxGlade: extracode
# end wxGlade

package appointments;

use Wx qw[:everything];
use base qw(Wx::Dialog);
use strict;

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.

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?

Have I not understood this?

Regards

Steve

 

<<Blank Bkgrd.gif>>

Reply via email to