| 1 |
package Preload::ExceptionB; |
| 2 |
use strict; |
| 3 |
use warnings; |
| 4 |
|
| 5 |
BEGIN { |
| 6 |
local $.; |
| 7 |
print "$$ $0 - Loaded ${ \__PACKAGE__ }\n"; |
| 8 |
$PRELOAD::ExB //= 0; |
| 9 |
die "Loaded ${ \__PACKAGE__ } again.\n" if $PRELOAD::ExB++; |
| 10 |
} |
| 11 |
|
| 12 |
sub ExB { $PRELOAD::ExB } |
| 13 |
|
| 14 |
1; |
| 15 |
|