NAME
Meta::Tool::Less - run the less pager for you.
COPYRIGHT
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
LICENSE
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
MANIFEST: Less.pm
PROJECT: meta
VERSION: 0.05
SYNOPSIS
package foo;
use Meta::Tool::Less qw();
my($object)=Meta::Tool::Less->new();
my($result)=$object->method();
DESCRIPTION
When you want to show something using the less pager don't do it yourself - give this module the job.
FUNCTIONS
BEGIN()
show_file($)
show_data($)
TEST($)
FUNCTION DOCUMENTATION
- BEGIN()
-
Bootstrap method to find the path to your less executable.
- show_file($)
-
This method will show a file using the less pager.
- show_data($)
-
Pass this method some data and it will show it using the less pager.
- TEST($)
-
Test suite for this module.
SUPER CLASSES
None.
BUGS
None.
AUTHOR
Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER
HISTORY
0.00 MV import tests
0.01 MV more thumbnail issues
0.02 MV website construction
0.03 MV web site automation
0.04 MV SEE ALSO section fix
0.05 MV md5 issues
SEE ALSO
Meta::Utils::File::File(3), Meta::Utils::File::Patho(3), Meta::Utils::File::Remove(3), Meta::Utils::System(3), Meta::Utils::Utils(3), strict(3)
TODO
-is there a way (using some CPAN module?) to feed the string to the less pager without writing it first into a file ?