Skip to content

Commit 765f0a6

Browse files
committed
PerlIO::via: convert tabs to spaces
The existing code uses a mix of tabs and spaces for indentation. Make things consistent by switching to spaces everywhere.
1 parent e94c84d commit 765f0a6

File tree

3 files changed

+296
-296
lines changed

3 files changed

+296
-296
lines changed

ext/PerlIO-via/t/via.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ package Incomplete::Module;
7373
}
7474

7575
my $obj = '';
76-
sub Foo::PUSHED { $obj = shift; -1; }
77-
sub PerlIO::via::Bar::PUSHED { $obj = shift; -1; }
76+
sub Foo::PUSHED { $obj = shift; -1; }
77+
sub PerlIO::via::Bar::PUSHED { $obj = shift; -1; }
7878
open $fh, '<:via(Foo)', "foo";
7979
is( $obj, 'Foo', 'search for package Foo' );
8080
open $fh, '<:via(Bar)', "bar";

ext/PerlIO-via/via.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ One example module, L<PerlIO::via::QuotedPrint>, is included with Perl
2828
L<PerlIO::via::StripHTML> and L<PerlIO::via::Base64>. The
2929
PerlIO::via::StripHTML module for instance, allows you to say:
3030
31-
use PerlIO::via::StripHTML;
32-
open( my $fh, "<:via(StripHTML)", "index.html" );
33-
my @line = <$fh>;
31+
use PerlIO::via::StripHTML;
32+
open( my $fh, "<:via(StripHTML)", "index.html" );
33+
my @line = <$fh>;
3434
3535
to obtain the text of an HTML-file in an array with all the HTML-tags
3636
automagically removed.

0 commit comments

Comments
 (0)