File: 26_pod_encoding.t

package info (click to toggle)
libmodule-extractuse-perl 0.344-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 868 kB
  • sloc: perl: 11,270; makefile: 17
file content (22 lines) | stat: -rw-r--r-- 310 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
use strict;
use Test::More tests => 1;

use Module::ExtractUse;

# The following test dies with Pod::Simple >= 3.26
# because of the nested encoding
{
my $p = Module::ExtractUse->new;
is $p->extract_use(\(<<'CODE'))->string, '5.010';
=pod

=head1 NAME

=encoding utf-8

=encoding utf-8

=cut
use 5.010;
CODE
}