WXPERL is a pure OO GUI library. Today, when I look at its example, I also tried different inheritance methods. This is useful in hello.pl of wxperl: Use Vars QW (@ISA); @ ISA = QW (wx :: app); check Use Vars in Programming Perl. Discover this usage is already Some degrees discarded, because there is an Our. The above code is equivalent to: OUR (@ISA) = QW (wx :: app); their role is to define a global variable. It should be noted that not mixing, ie, do not use USE VARS and OUR at the same time in a code. (When one package is defined in a file) In addition to these two methods, you can also use: Use base qw (wx :: app); this code is equivalent to: begin {require wx :: app; # Note, It is used here that nude characters. Specifically, Require introduction Push @ISA, QW (wx :: app);} I have found a small problem, when using Use base QW (wx :: app); when the parent class must be 1; end, There are two ways, there is no need to be OK. This may be the reason for the Require.