Tie::Hash::NamedCapture - Online Linux Manual PageSection : 3pm
Updated : 2023-01-19
Source : perl v5.36.0
Note : Perl Programmers Reference Guide
NAMETie::Hash::NamedCapture − Named regexp capture buffers
SYNOPSIS tie my %hash, "Tie::Hash::NamedCapture";
# %hash now behaves like %+
tie my %hash, "Tie::Hash::NamedCapture", all => 1;
# %hash now access buffers from regexp in $qr like %−
DESCRIPTIONThis module is used to implement the special hashes %+ and %−, but it can be used to tie other variables as you choose. When the all parameter is provided, then the tied hash elements will be array refs listing the contents of each capture buffer whose name is the same as the associated hash key. If none of these buffers were involved in the match, the contents of that array ref will be as many undef values as there are capture buffers with that name. In other words, the tied hash will behave as %−. When the all parameter is omitted or false, then the tied hash elements will be the contents of the leftmost defined buffer with the name of the associated hash key. In other words, the tied hash will behave as %+. The keys of %−−like hashes correspond to all buffer names found in the regular expression; the keys of %+−like hashes list only the names of buffers that have captured (and that are thus associated to defined values). This implementation has been moved into the core executable, but you can still load this module for backward compatibility.
SEE ALSOperlreapi, re, ‟Pragmatic Modules” in perlmodlib, ‟%+” in perlvar, ‟%−” in perlvar. 0
Johanes Gumabo
Data Size : 4,957 byte
man-Tie::Hash::NamedCapture.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 181,208
Visitor ID : :
Visitor IP : 18.226.34.148 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Tie::Hash::NamedCapture.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Tie::Hash::NamedCapture.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Tie::Hash::NamedCapture.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Tie::Hash::NamedCapture.3pm|43|'br══─}─══ |'br══─}─══
)