perldoc > Regexp::Common::_support

πŸ“› NAME

Regexp::Common::support β€” Support functions for Regexp::Common.

πŸš€ Quick Reference

Use Case Command Description
πŸ” Validate a credit card number (Luhn checksum) luhn($number) Returns true if the number passes the Luhn checksum test
πŸ“¦ Import the support function use Regexp::Common::_support qw /luhn/; Loads the luhn subroutine into the current namespace

πŸ“– SYNOPSIS

use Regexp::Common::_support qw /luhn/;

luhn ($number)    # Returns true/false.

πŸ“ DESCRIPTION

This module contains some subroutines to be used by other Regexp::Common modules. It’s not intended to be used directly. Subroutines from the module may disappear without any notice, or their meaning or interface may change without notice.

πŸ”’ luhn

This subroutine returns true if its argument passes the Luhn checksum test.

πŸ”— SEE ALSO

<http://www.webopedia.com/TERM/L/Luhn_formula.html>.

πŸ‘€ AUTHOR

Abigail (*regexp-common AT abigail.be*).

πŸ› BUGS AND IRRITATIONS

Bound to be plenty.

πŸ“œ LICENSE AND COPYRIGHT

This software is Copyright (c) 2001 – 2017, Damian Conway and Abigail.

This module is free software, and may be used under any of the following licenses:

Regexp::Common::_support
πŸ“› NAME πŸš€ Quick Reference πŸ“– SYNOPSIS πŸ“ DESCRIPTION
πŸ”’ luhn
πŸ”— SEE ALSO πŸ‘€ AUTHOR πŸ› BUGS AND IRRITATIONS πŸ“œ LICENSE AND COPYRIGHT

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 12:05 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format