| 1 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | package Device::CableModem::Zoom5341J; | ||||||||||
| 5 | |||||||||||
| 6 | |||||||||||
| 7 | =head1 NAME | ||||||||||
| 8 | |||||||||||
| 9 | Device::CableModem::Zoom5341J::Test | ||||||||||
| 10 | |||||||||||
| 11 | =head1 NOTA BENE | ||||||||||
| 12 | |||||||||||
| 13 | This is part of the guts of Device::CableModem::Zoom5341J. If you're | ||||||||||
| 14 | reading this, you're either developing the module, writing tests, or | ||||||||||
| 15 | coloring outside the lines; consider yourself warned. | ||||||||||
| 16 | |||||||||||
| 17 | =cut | ||||||||||
| 18 | |||||||||||
| 19 | |||||||||||
| 20 | =head2 ->load_test_data | ||||||||||
| 21 | |||||||||||
| 22 | Loads sample data for tests | ||||||||||
| 23 | =cut | ||||||||||
| 24 | sub load_test_data | ||||||||||
| 25 | 2 | ▶ | { | ||||||||
|
Subroutine
load_test_data: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||
| 26 | 2 | my $self = shift; | |||||||||
| 27 | 2 | my $samfile = shift; | |||||||||
| 28 | |||||||||||
| 29 | 2 | ▶ | open my $sdf, '<', $samfile or die "Couldn't load sample data: $@"; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 30 | 2 | my $html = join '', <$sdf>; | |||||||||
| 31 | 2 | close $sdf; | |||||||||
| 32 | |||||||||||
| 33 | 2 | $self->{conn_html} = $html; | |||||||||
| 34 | } | ||||||||||
| 35 | |||||||||||
| 36 | |||||||||||
| 37 | 2 | 1; | |||||||||
| 38 | __END__ | ||||||||||