Meta::Utils::Handle - various utilities to help you with file handles.


Meta documentation Contained in the Meta distribution.

Index


Code Index:

NAME

Top

Meta::Utils::Handle - various utilities to help you with file handles.

COPYRIGHT

Top

LICENSE

Top

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

Top

	MANIFEST: Handle.pm
	PROJECT: meta
	VERSION: 0.10

SYNOPSIS

Top

	package foo;
	use Meta::Utils::Handle qw();
	my($object)=Meta::Utils::Handle->new();
	my($result)=$object->method();

DESCRIPTION

Top

This module helps you with various things to do with file handles. Flushing them, closing etc... In default perl this is done in the most awkward ways and this module is here to protect you from that.

FUNCTIONS

Top

	flush($)
	TEST($)

FUNCTION DOCUMENTATION

Top

flush($)

This method will flush the file given to it.

TEST($)

Test suite for this module.

SUPER CLASSES

Top

None.

BUGS

Top

None.

AUTHOR

Top

	Name: Mark Veltzer
	Email: mailto:veltzer@cpan.org
	WWW: http://www.veltzer.org
	CPAN id: VELTZER

HISTORY

Top

	0.00 MV more movies
	0.01 MV md5 project
	0.02 MV database
	0.03 MV perl module versions in files
	0.04 MV movies and small fixes
	0.05 MV thumbnail user interface
	0.06 MV more thumbnail issues
	0.07 MV website construction
	0.08 MV web site automation
	0.09 MV SEE ALSO section fix
	0.10 MV md5 issues

SEE ALSO

Top

IO::Handle(3), strict(3)

TODO

Top

-add more methods here - like getting the flushing status, setting autoflush, unsetting autoflush etc...


Meta documentation Contained in the Meta distribution.

#!/bin/echo This is a perl module and should not be run

package Meta::Utils::Handle;

use strict qw(vars refs subs);
use IO::Handle qw();

our($VERSION,@ISA);
$VERSION="0.10";
@ISA=qw();

#sub flush($);
#sub TEST($);

#__DATA__

sub flush($) {
	my($file)=@_;
	$file->IO::Handle->flush();
}

sub TEST($) {
	my($context)=@_;
	return(1);
}

1;

__END__