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'; use strict; use warnings; package AAA; use Spiffy -base; BEGIN {@AAA::EXPORT_OK = qw($A1 $A2)} $AAA::A1 = 5; $AAA::A2 = 10; package BBB; use base 'AAA'; BEGIN {@BBB::EXPORT_OK = qw($A2 $A3)} $BBB::A2 = 15; $BBB::A3 = 20; package main; no warnings; use Test::More tests => 7; BEGIN {BBB->import(qw($A1 $A2 $A3 $A4))} ok(defined $main::A1); ok(defined $main::A2); ok(defined $main::A3); ok(not defined $main::A4); is($A1, 5); is($A2, 10); is($A3, 20);