Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mail::rfc822::address(3pm) [debian man page]

Address(3pm)						User Contributed Perl Documentation					      Address(3pm)

NAME
Mail::RFC822::Address - Perl extension for validating email addresses according to RFC822 SYNOPSIS
use Mail::RFC822::Address qw(valid validlist); if (valid("pdw@ex-parrot.com")) { print "That's a valid address "; } if (validlist("pdw@ex-parrot.com, other@elsewhere.com")) { print "That's a valid list of addresses "; } DESCRIPTION
Mail::RFC822::Address validates email addresses against the grammar described in RFC 822 using regular expressions. How to validate a user supplied email address is a FAQ (see perlfaq9): the only sure way to see if a supplied email address is genuine is to send an email to it and see if the user recieves it. The one useful check that can be performed on an address is to check that the email address is syntactically valid. That is what this module does. This module is functionally equivalent to RFC::RFC822::Address, but uses regular expressions rather than the Parse::RecDescent parser. This means that startup time is greatly reduced making it suitable for use in transient scripts such as CGI scripts. valid ( address ) Returns true or false to indicate if address is an RFC822 valid address. validlist ( addresslist ) In scalar context, returns true if the parameter is an RFC822 valid list of addresses. In list context, returns an empty list on failure (an invalid address was found); otherwise a list whose first element is the number of addresses found and whose remaining elements are the addresses. This is needed to disambiguate failure (invalid) from success with no addresses found, because an empty string is a valid list. AUTHOR
Paul Warren, pdw@ex-parrot.com CREDITS
Most of the test suite in test.pl is taken from RFC::RFC822::Address, written by Abigail, abigail@foad.org COPYRIGHT and LICENSE This program is copyright 2001-2002 by Paul Warren. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SEE ALSO
RFC::RFC822::Address, Mail::Address perl v5.10.1 2002-04-13 Address(3pm)

Check Out this Related Man Page

Text::Diff::Config(3)					User Contributed Perl Documentation				     Text::Diff::Config(3)

NAME
Text::Diff::Config - global configuration for Text::Diff (as a separate module). SYNOPSIS
use Text::Diff::Config; $Text::Diff::Config::Output_Unicode = 1; DESCRIPTION
This module configures Text::Diff and its related modules. Currently it contains only one global variable $Text::Diff::Config::Output_Unicode which is a boolean flag, that if set outputs unicode characters as themselves without escaping them as " x{HHHH} " first. It is initialized to the value of $ENV{DIFF_OUTPUT_UNICODE} , but can be set to a different value at run-time, including using local. AUTHOR
Shlomi Fish, <http://www.shlomifish.org/> . LICENSE
Copyright 2010, Shlomi Fish. This file is licensed under the MIT/X11 License: <http://www.opensource.org/licenses/mit-license.php>. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. NAME
Text::Diff::Config - global configuration for Text::Diff (as a separate module). SYNOPSIS
use Text::Diff::Config; $Text::Diff::Config::Output_Unicode = 1; DESCRIPTION
This module configures Text::Diff and its related modules. Currently it contains only one global variable $Text::Diff::Config::Output_Unicode which is a boolean flag, that if set outputs unicode characters as themselves without escaping them as " x{HHHH} " first. It is initialized to the value of $ENV{DIFF_OUTPUT_UNICODE} , but can be set to a different value at run-time, including using local. AUTHOR
Shlomi Fish, <http://www.shlomifish.org/> . LICENSE
Copyright 2010, Shlomi Fish. This file is licensed under the MIT/X11 License: <http://www.opensource.org/licenses/mit-license.php>. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. perl v5.16.3 2011-04-17 Text::Diff::Config(3)
Man Page