| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package TUI::Validate;
|
|
2
|
2
|
|
|
2
|
|
4177
|
use strict;
|
|
|
2
|
|
|
|
|
7
|
|
|
|
2
|
|
|
|
|
103
|
|
|
3
|
2
|
|
|
2
|
|
12
|
use warnings;
|
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
180
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.0.0';
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=encoding utf8
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
TUI::Validate - Validation utilities for the TUI::Vision framework
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
use TUI::Validate;
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# Placeholder module.
|
|
18
|
|
|
|
|
|
|
# Full validation utilities will be migrated from TV::Validate.
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
TUI::Validate provides validation utilities for the TUI::Vision
|
|
23
|
|
|
|
|
|
|
framework. This subsystem offered
|
|
24
|
|
|
|
|
|
|
helpers for validating user input, dialog fields, and widget state.
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This stub does not implement any validation logic yet.
|
|
27
|
|
|
|
|
|
|
It exists solely to reserve the namespace for the upcoming migration.
|
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 ROADMAP
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=over 4
|
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item * Phase 2
|
|
34
|
|
|
|
|
|
|
Migration of TV::Validate::Const and related modules.
|
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item * Phase 3
|
|
37
|
|
|
|
|
|
|
Integration with TUI::Dialogs and TUI::StdDlg.
|
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item * Phase 4
|
|
40
|
|
|
|
|
|
|
Unified validation API for widgets and application logic.
|
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=back
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR
|
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
J. Schneider
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut
|
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1;
|