layer is called "encoding" the (xxxx) is an argument.
p4raw-id: //depot/perlio@11615
} else {
$layer = "encoding($locale_encoding)";
}
- }
- unless(PerlIO::Layer::->find($layer)) {
- carp("Unknown discipline layer '$layer'");
+ } else {
+ unless(PerlIO::Layer::->find($layer)) {
+ carp("Unknown discipline layer '$layer'");
+ }
}
push(@val,":$layer");
if ($layer =~ /^(crlf|raw)$/) {