3 # Map layer name to package that defines it
4 my %alias = (encoding => 'Encode');
12 if (exists $alias{$layer})
14 $layer = $alias{$layer}
18 $layer = "${class}::$layer";
20 eval "require $layer";
30 PerlIO - On demand loader for PerlIO::* name space
38 When an undefined layer 'foo' is encountered in an C<open> or C<binmode> layer
39 specification then C code performs the equivalent of:
43 The perl code in PerlIO.pm then attempts to locate a layer by doing
47 Otherwise the C<PerlIO> package is a place holder for additional PerLIO related