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 't', 'lib';
use strict;
use warnings;
package AAA;
use Spiffy -base;
BEGIN {@AAA::EXPORT_OK = qw(dude)}
const dude => 10;
package BBB;
use base 'AAA';
BEGIN {
@BBB::EXPORT_OK = qw(dude);
const dude => 20;
}
package CCC;
BEGIN {BBB->import('dude')}
package main;
no warnings;
use Test::More tests => 2;
ok(defined $CCC::{dude});
is(CCC::dude(), 20);