Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/PerlIO-via/t/via.t
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ package Incomplete::Module;
}

my $obj = '';
sub Foo::PUSHED { $obj = shift; -1; }
sub PerlIO::via::Bar::PUSHED { $obj = shift; -1; }
sub Foo::PUSHED { $obj = shift; -1; }
sub PerlIO::via::Bar::PUSHED { $obj = shift; -1; }
open $fh, '<:via(Foo)', "foo";
is( $obj, 'Foo', 'search for package Foo' );
open $fh, '<:via(Bar)', "bar";
Expand Down
6 changes: 3 additions & 3 deletions ext/PerlIO-via/via.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ One example module, L<PerlIO::via::QuotedPrint>, is included with Perl
L<PerlIO::via::StripHTML> and L<PerlIO::via::Base64>. The
PerlIO::via::StripHTML module for instance, allows you to say:

use PerlIO::via::StripHTML;
open( my $fh, "<:via(StripHTML)", "index.html" );
my @line = <$fh>;
use PerlIO::via::StripHTML;
open( my $fh, "<:via(StripHTML)", "index.html" );
my @line = <$fh>;

to obtain the text of an HTML-file in an array with all the HTML-tags
automagically removed.
Expand Down
Loading
Loading