| 1 | package TUI::StdDlg::FindFirstRec; | ||||||||||||
| 2 | # ABSTRACT: A class implementing the behaviour of findfirst and findnext | ||||||||||||
| 3 | |||||||||||||
| 4 | 12 | ▶ | use 5.010; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | 12 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | 12 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 12 | our $VERSION = '2.000002'; | |||||||||||
| 9 | 12 | $VERSION =~ tr/_//d; | |||||||||||
| 10 | 12 | our $AUTHORITY = 'cpan:BRICKPOOL'; | |||||||||||
| 11 | |||||||||||||
| 12 | 12 | ▶ | use Exporter 'import'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 13 | 12 | our @EXPORT = qw( FindFirstRec ); | |||||||||||
| 14 | |||||||||||||
| 15 | # Code snippet taken from File::Spec | ||||||||||||
| 16 | 12 | my %module = ( | |||||||||||
| 17 | MSWin32 => 'Win32', | ||||||||||||
| 18 | ); | ||||||||||||
| 19 | |||||||||||||
| 20 | 12 | ▶ | my $module = $module{$^O} || 'Unix'; | ||||||||||
|
Condition50%1/2
$module{$^O} || 'Unix'
MC/DC0%0/1
$module{$^O} || 'Unix'
$module{$^O}
Truth table50%1/2
A
A= $module{$^O}
| |||||||||||||
| 21 | |||||||||||||
| 22 | 40 | ▶ | sub FindFirstRec() { "TUI::StdDlg::FindFirstRec::$module" } | ||||||||||
|
Subroutine
FindFirstRec: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||
| 23 | |||||||||||||
| 24 | 12 | require "TUI/StdDlg/FindFirstRec/$module.pm"; | |||||||||||
| 25 | 12 | our @ISA = ( FindFirstRec ); | |||||||||||
| 26 | |||||||||||||
| 27 | 12 | 1 | |||||||||||
| 28 | |||||||||||||
| 29 | __END__ | ||||||||||||