Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 example
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 xt Fix typos January 28, 2010
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .shipit
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 PerlIO-Util.xs
Octocat-spinner-32 README
Octocat-spinner-32 dir.c
Octocat-spinner-32 missing.c
Octocat-spinner-32 perlioflock.h
Octocat-spinner-32 perlioutil.h
Octocat-spinner-32 pseudo_layers.c
Octocat-spinner-32 reverse.c
Octocat-spinner-32 tee.c
README
NAME

PerlIO::Util - A selection of general PerlIO utilities

SYNOPSIS

	use PerlIO::Util;

	# to create $file if needed, and then call flock($in, LOCK_EX)
	my $in = PerlIO::Util->open('+<:creat :flock', $file); 

	# to multiplex output
	*STDERR->push_layer(tee => ">> $err_log");

	# to read lines backward
	my $in = PerlIO::Util->open('<:reverse', $file);

	# to open file encoded to filesystem encoding
	# (need to set PERLIO_FSE unless using Win32)
	my $in = PerlIO::Util->open('<:fse', $file);

INSTALLATION

	To install this module, run the following commands:

		perl Makefile.PL
		make
		make test
		make install


DEPENDENCIES

	Perl 5.8.1 or later, and a C compiler.

COPYRIGHT AND LICENCE

	Copyright (C) 2008-2010, Goro Fuji <gfuji(at)cpan.org>, Some rights reversed.

	This library is free software; you can redistribute it and/or modify
	it under the same terms as Perl itself.
Something went wrong with that request. Please try again.