Text::RecordParser::Object man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Text::RecordParser::ObUser(Contributed Perl DocumText::RecordParser::Object(3)

NAME
       Text::RecordParser::Object - read delimited text files as objects

SYNOPSIS
	 my $o = $p->fetchrow_object;
	 my $name = $o->name;

METHOD
   new
       Just call "fetchrow_object" on a Text::RecordParser object to
       instantiate an object.

DESCRIPTION
       This module extends the idea of how you interact with delimited text
       files, allowing you to enforce field names and identify field aliases
       easily.	That is, if you are using the "fetchrow_hashref" method to
       read each line, you may misspell the hash key and introduce a bug in
       your code.  With this module, Perl will throw an error if you attempt
       to read a field not defined in the file's headers.  Additionally, any
       defined field aliases will be created as additional accessor methods.

       As much as I like the full encapsulation of inside-out objects (e.g.,
       as described in _Perl Best Practies_ by Damian Conway and provided by
       Class::Std), I couldn't figure out a way to dynamically create the
       class at runtime.  Besides, I figure this interface is only for those
       who want to use the overhead of objects to enforce policy.  If you use
       this module and still access the hash underneath the object, I can't
       really help you.

SEE ALSO
       Class::Accessor.

AUTHOR
       Ken Youens-Clark <kclark@cpan.org>

LICENSE AND COPYRIGHT
       Copyright (C) 2009-10 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.

perl v5.14.2			  2012-01-14	 Text::RecordParser::Object(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net