| 1 | package TUI::MsgBox; | ||
| 2 | # ABSTRACT: Message box components for the TUI::Vision framework | ||
| 3 | |||
| 4 | 2 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | our $VERSION = '2.000002'; | |
| 9 | 2 | $VERSION =~ tr/_//d; | |
| 10 | 2 | our $AUTHORITY = 'cpan:BRICKPOOL'; | |
| 11 | |||
| 12 | 2 | ▶ | use Import::Into; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 2 | ▶ | use TUI::MsgBox::Const; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 2 | ▶ | use TUI::MsgBox::MsgBoxText; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 3 | ▶ | sub import { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 18 | 3 | my $target = caller; | |
| 19 | 3 | TUI::MsgBox::Const->import::into( $target, qw( :all ) ); | |
| 20 | 3 | TUI::MsgBox::MsgBoxText->import::into( $target, qw( /^messageBox|inputBox/ ) ); | |
| 21 | } | ||
| 22 | |||
| 23 | 0 | ▶ | sub unimport { |
|
Subroutine
unimport: not called CC=1 SCAR=6.9
| |||
| 24 | 0 | my $caller = caller; | |
| 25 | 0 | TUI::MsgBox::Const->unimport::out_of( $caller ); | |
| 26 | 0 | TUI::MsgBox::MsgBoxText->unimport::out_of( $caller ); | |
| 27 | } | ||
| 28 | |||
| 29 | 2 | 1 | |
| 30 | |||
| 31 | __END__ | ||