Text::RecordParser::Tab.3pm

Langue: en

Autres versions - même langue

Version: 2009-11-24 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Text::RecordParser::Tab - read tab-delimited files

SYNOPSIS

   use Text::RecordParser::Tab;
 
 

DESCRIPTION

This module is a shortcut for getting a tab-delimited parser.

new

Call ``new'' as normal but without worrying about ``field_separator'' or ``fs.''

Because this:

   my $p = Text::RecordParser::Tab->new($file);
 
 

Is easier to type than this

   my $p = Text::RecordParser->new( 
       filename        => $file,
       field_separator => "\t",
   );
 
 

AUTHOR

Ken Youens-Clark <kclark@cpan.org> Copyright (C) 2006-9 Ken Youens-Clark. All rights reserved.

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; version 2.

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.