File: Qualified.pm

package info (click to toggle)
libpod-coverage-perl 0.23-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 240 kB
  • sloc: perl: 611; makefile: 7
file content (45 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package Fully::Qualified;
use strict;
use warnings;

use vars qw( $VERSION @EXPORT_OK );
$VERSION=0.001;

use base 'Exporter';
@EXPORT_OK = qw( &ex_sub2 );

=head1 NAME

Fully::Qualified - Test for Pod::Coverage

=head1 SYNOPSIS

none

=head1 DESCRIPTION

This package is to see that L<Pod::Coverage> sees fully qualified subnames as documented. (Not all the world is OO)

=over 4

=item C<Fully::Qualified::api_sub1 ( noargs )>

Okay, it is API; but not exported

=cut

sub api_sub1 { "in api_sub1" }

=item Fully::Qualified::ex_sub2

This sub can be exported.

=cut

sub ex_sub2 { "in ex_sub2" }

=back

=cut

1;