IO::Infiles - Multiple handlers for multiple __END__-like tokens
use IO::Infiles; __END__ end data __FOO__ foo data more __JOHN__ john data
This module adds more token sections at the end of your code. The first token must be named __END__ ; as before, its data are available through the END handler. If there are more token sections with other names, handlers of the same name will all be pre-opened.
One read-only IO handler is exported for each token name.
The first token should be the __END__ token. If instead you use __DATA__ as the name for the first token, you will receive the warning "Attempt to free unreferenced scalar: SV 0x82ebdf0 during global destruction." Rename your first token to __END__ if you want to silence this warning.
Ioannis Tambouras, <ioannis@yahoo.com>
Copyright (C) 2005 by Ioannis Tambouras
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
This 'for nothing' section was written to silence test::pod::coverage
To install IO::Infiles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Infiles
CPAN shell
perl -MCPAN -e shell install IO::Infiles
For more information on module installation, please visit the detailed CPAN module installation guide.