PageRenderTime 44ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/perl5/multiple_inheritance/runme.pl

#
Perl | 16 lines | 8 code | 6 blank | 2 comment | 0 complexity | 03949cdffcbfc679a01e3af33e680e22 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. # file: runme.pl
  2. # This file test multiple inheritance
  3. use example;
  4. $foo_Bar = new example::Foo_Bar();
  5. print "must be foo: ";
  6. $foo_Bar->foo();
  7. print "must be bar: ";
  8. $foo_Bar->bar();
  9. print "must be foobar: ";
  10. $foo_Bar->fooBar();