PerlIO::via::chop - PerlIO layer to chop the last byte outputted
use PerlIO::via::chop; open( my $in,'<:via(chop)','file.txt' ); # no effect open( my $out,'>:via(chop)','file.txt' ); # last byte is chopped
This module implements a PerlIO layer that chops the last byte written to the file.
PerlIO::via
Autrijus Tang <autrijus@autrijus.org>
Copyright 2002 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install PerlIO::via::chop, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlIO::via::chop
CPAN shell
perl -MCPAN -e shell install PerlIO::via::chop
For more information on module installation, please visit the detailed CPAN module installation guide.