Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 220
use lib 'lib';
use strict;
use warnings;
package Alpha;
use Spiffy -Base;
sub three {
print "ok 6\n";
}
package Foo;
use base 'Alpha';
sub one {
super;
print "ok 2\n";
}
sub two {
print "ok 4\n";
}
package Bar;
use base 'Foo';
sub one {
super;
print "ok 3\n";
}
sub two {
super;
print "ok 5\n";
}
package Baz;
use base 'Bar';
sub one {
print "ok 1\n";
super;
}
sub two {
super;
print "not ok 6\n";
}
sub three {
super;
print "ok 7\n";
}
package main;
use strict;
print "1..7\n";
Baz->new->one;
Bar->new->two;
Baz->new->three;