
PerlIO::via::UnPod - PerlIO layer for removing plain old documentation

use PerlIO::via::UnPod; open( my $in,'<:via(UnPod)','file.pm' ) or die "Can't open file.pm for reading: $!\n"; open( my $out,'>:via(UnPod)','file.pm' ) or die "Can't open file.pm for writing: $!\n";

This module implements a PerlIO layer that removes plain old documentation (pod) on input and on output. It is intended as a development tool only, but may have uses outside of development.

(none)

Here are some examples, some may even be useful.
A script that only lets source code pass.
#!/usr/bin/perl use PerlIO::via::UnPod; binmode( STDIN,':via(UnPod)' ); # could also be STDOUT print while <STDIN>;

PerlIO::via, PerlIO::via::Pod and any other PerlIO::via modules on CPAN.

Copyright (c) 2002-2003 Elizabeth Mattijsen. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.