Mail::Box::Tie man page on Fedora

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

Mail::Box::Tie(3)     User Contributed Perl Documentation    Mail::Box::Tie(3)

NAME
       Mail::Box::Tie - access an existing message-folder as an array or hash

SYNOPSIS
       As an array:

	use Mail::Box::Tie;
	tie my(@inbox), Mail::Box::Tie::ARRAY => $folder;
	tie my(@inbox), Mail::Box::Tie => $folder;    # deprecated
	print $inbox[3];

       or as hash:

	tie my(%inbox), Mail::Box::Tie::HASH => $folder;
	tie my(%inbox), Mail::Box::Tie => $folder;    # deprecated
	print $inbox{'<12379.124879@example.com>'};

DESCRIPTION
       The use of "Mail::Box::Tie" is deprecated, because it is succeeded by
       two separate modules: Mail::Box::Tie::ARRAY and Mail::Box::Tie::HASH.
       However, this module still works.

       Folders certainly look like an array of messages, so why not just
       access them as one?  Or, the order is not important, but the message-
       ids are (give relations): why not access them from a hash based on this
       message-id?  Programs using one of these ties will look simpler than
       programs using the more traditional method calls.

SEE ALSO
       This module is part of Mail-Box distribution version 2.097, built on
       January 26, 2011. Website: http://perl.overmeer.net/mailbox/

LICENSE
       Copyrights 2001-2011 by Mark Overmeer. For other contributors see
       ChangeLog.

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.  See
       http://www.perl.com/perl/misc/Artistic.html

perl v5.14.1			  2011-01-26		     Mail::Box::Tie(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