Lines Matching refs:via
1 package PerlIO::via;
4 XSLoader::load 'PerlIO::via';
10 PerlIO::via - Helper class for PerlIO layers implemented in perl
14 use PerlIO::via::Layer;
15 open($fh,"<:via(Layer)",...);
18 open($fh,">:via(Some::Other::Package)",...);
22 The PerlIO::via module allows you to develop PerlIO layers in Perl, without
26 One example module, L<PerlIO::via::QuotedPrint>, is included with Perl
28 L<PerlIO::via::StripHTML> and L<PerlIO::via::Base64>. The
29 PerlIO::via::StripHTML module for instance, allows you to say:
31 use PerlIO::via::StripHTML;
32 open( my $fh, "<:via(StripHTML)", "index.html" );
38 Please note that if the layer is created in the PerlIO::via:: namespace, it
39 does B<not> have to be fully qualified. The PerlIO::via module will prefix
40 the PerlIO::via:: namespace if the specified modulename does not exist as a
48 PerlIO::via:: namespace, so that they can easily be located on CPAN and use
49 the default namespace feature of the PerlIO::via module itself.
70 I<before> the actual open occurs whether than be via C<OPEN>, C<SYSOPEN>,
83 ":via(YourClass):utf8"
189 Check the PerlIO::via:: namespace on CPAN for examples of PerlIO layers
195 Given the following module, PerlIO::via::Hex :
197 package PerlIO::via::Hex;
236 use PerlIO::via::Hex;
237 open(my $fh, ">:via(Hex)", "foo.hex");
242 open(my $fh, "<:via(Hex)", "foo.hex");