Biber::DataList(3pm)
π Biber::DataList π
okay bestie, gather round, because this is the Biber::DataList(3pm) page from the User Contributed Perl Documentation and it is long β so long that it comes in multiple parts. We're doing part 1 right now. Grab a snack. π
πΈ NAME πΈ
Biber::DataList β Biber::DataList objects β¨
Like, that's the whole name section. It's giving mysterious. It's giving "the object does the thing, go read the methods." π
π METHODS π
Every single one, no skips, no cuts, we're not leaving anybody behind:
newβ Initialize aBiber::DataListobject π«Άset_sectionβ Sets the section of a data listget_sectionβ Gets the section of a data listreset_stateβ Resets all state data. Used mainly in tests which callBiber::prepare()multiple times without re-creating datalists πincr_seenpaβ Increment the count of occurrences of a primary author base name if it has a different non-base part. Basically: how many variants of the basename are there in the dlist? πget_seenpaβ Get the count of unique (i.e. with different hash) occurrences of a primary author base namereset_entryfieldsβ Resets all entryfield data in a listget_entryfieldβ Retrieves per-list datafield information for an entryset_entryfieldβ Records per-list datafield information for an entryadd_uniquenamecountβ Add a name to the list of name contexts which have the name in it (only called for visible names) πadd_uniquenamecount_allβ Add a name to the list of name contexts which have the name in it (called for all names)get_uniquelistcountβ Get the number of uniquelist entries for a (possibly partial) listadd_uniquelistcountβ Increment the count for a list part to the data for a nameadd_uniquelistcount_finalβ Increment the count for a complete list to the data for a nameadd_uniquelistcount_minyearβ Increment the count for a list and year for a name. Used to trackuniquelist = minyearποΈget_uniquelistcount_minyearβ Get the count for a list and year for a name. Used to trackuniquelist = minyearget_uniquelistcount_finalβ Get the number of uniquelist entries for a full listreset_uniquelistcountβ Reset the count for list parts and complete listsreset_uniquenamecountβ Reset the list of names which have the name part in itget_basenamestringβ Get a basenamestring for a particular nameget_namestringβ Get a namestring for a particular nameget_namestringsβ Get namestrings for a particular nameset_namedisβ Set name disambiguation metadatais_unbasepartβ Return boolean to say if a namepart is a base part according to template which created the informationget_namehashβ Get hash for a nameset_namehashβ Set hash for a nameget_unmininfoβ Get uniquename minimalness info for a nameset_unmininfoβ Set uniquename minimalness info for a nameget_namedisschemaβ Get a name disambiguation schema for a nameget_unsummaryβ Get legacy uniquename summary for a nameget_unpartβ Get uniquename summary part for a nameget_unpartsβ Get uniquename parts for a nameset_unpartsβ Set uniquename parts for a name_get_uniquenameβ Get the list of name contexts which contain a name. Mainly for use in tests π§ͺget_uniquenameβ Get uniquename for a nameset_uniquenameβ Set uniquename for a namereset_uniquenameβ Reset uniquename for a nameget_uniquename_allβ Get uniquename for a name, regardless of visibilityset_uniquename_allβ Set uniquename for a name, regardless of visibilitycount_uniquelistβ Count the names in a string used to determine uniquelist.get_uniquelistβ Gets a uniquelist setting for a namelistset_uniquelistβ Sets a uniquelist setting for a namelistget_visible_citeβ Gets citation name list visibilityset_visible_citeβ Gets citation name list visibilityget_visible_bibβ Gets bib name list visibilityset_visible_bibβ Gets bib name list visibilityget_visible_sortβ Gets sort name list visibilityset_visible_sortβ Gets sort name list visibilityget_visible_alphaβ Gets alpha name list visibilityset_visible_alphaβ Gets alpha name list visibilityget_numofuniquenamesβ Get the number of uniquenames entries for a visible nameget_numofuniquenames_allβ Get the number of uniquenames entries for a nameget_unul_doneβ Return a boolean saying whether uniquenename+uniquelist processing is finished (yes,uniquenename, that's the actual spelling, I don't make the rules) πset_unul_changedβ Set a boolean saying whether uniquename+uniquelist has changedreset_seen_extraβ Reset the counters for extra* π§Ήincr_seen_extradateβ Increment and return the counter for extradateincr_seen_extranameβ Increment and return the counter for extranameincr_seen_labelnameβ Increment and return a counter used to track extranameincr_seen_extratitleβ Increment and return the counter for extratitleincr_seen_extratitleyearβ Increment and return the counter for extratitleyearincr_seen_extraalphaβ Increment and return the counter for extraalphaget_seen_nametitledatepartsβ Get the count of an labelname/dateparts combination for tracking extradate. It uses labelyear plus name as we need to disambiguate entries with different labelyear (like differentiating1984--1986from just1984) π₯incr_seen_nametitledatepartsβ Increment the count of an labelname/labeltitle+dateparts combination for extradate.
We pass in the name/title and date strings separately as we have to be careful and only increment this counter beyond 1 if there is a name/title component. Otherwise, extradate gets defined for all entries with no name/title but the same year etc. β οΈ
get_seen_labelnameβ Get the count of a labelname hash for tracking extranameget_seen_nametitleβ Get the count of an labelname/labeltitle combination for tracking extratitle.incr_seen_nametitleβ Increment the count of an labelname/labeltitle combination for extratitle.
We pass in the name and year strings separately as we have to be careful and only increment this counter beyond 1 if there is a title component. Otherwise, extratitle gets defined for all entries with no title. β οΈ
get_seen_titleyearβ Get the count of an labeltitle/labelyear combination for tracking extratitleyearincr_seen_titleyearβ Increment the count of an labeltitle/labelyear combination for extratitleyear.
We pass in the title and year strings separately as we have to be careful and only increment this counter beyond 1 if there is a title component. Otherwise, extratitleyear gets defined for all entries with no title. β οΈ
reset_workuniquenessβ Reset various work uniqueness countersget_seennameβ Get the count of occurrences of a labelname or labeltitleincr_seennameβ Increment the count of occurrences of a labelname or labeltitleget_seentitleβ Get the count of occurrences of a labeltitleincr_seentitleβ Increment the count of occurrences of a labeltitleget_seenbaretitleβ Get the count of occurrences of a labeltitle when there is no labelnameincr_seenbaretitleβ Increment the count of occurrences of a labeltitle when there is no labelnameget_seenworkβ Get the count of occurrences of a labelname and labeltitleincr_seenworkβ Increment the count of occurrences of a labelname and labeltitleincr_la_disambiguationβ Increment a counter to say we have seen this labelalphaget_la_disambiguationβ Get the disambiguation counter for this labelalpha. Return a0for undefs to avoid spurious errors. π«set_sortingtemplatenameβ Sets the sortingtemplate name of a data listget_attrsβ Gets the attributes of a data listget_sortingtemplatenameβ Gets the sortingtemplatename of a data listset_sortingnamekeytemplatenameβ Sets the sortingnamekeytemplate name of a data listget_sortingnamekeytemplatenameβ Gets the sortingnamekeytemplatename of a data listset_uniquenametemplatenameβ Sets the uniquenametemplate name of a data listget_uniquenametemplatenameβ Gets the uniquenametemplate name of a data listset_labelalphanametemplatenameβ Sets the labelalphanametemplate name of a data listget_labelalphanametemplatenameβ Gets the labelalphanametemplate name of a data listset_namehashtemplatenameβ Sets the namehashtemplate name of a data listget_namehashtemplatenameβ Gets the namehashtemplate name of a data listset_sortinit_collatorβ Sets the sortinit collator for this listget_sortinit_collatorβ Gets the sortinit collator for this listget_labelprefixβ Gets the labelprefix setting of a data listset_labelprefixβ Sets the labelprefix setting of a data listset_nameβ Sets the name of a data listget_nameβ Gets the name of a data listset_typeβ Sets the type of a data listget_typeβ Gets the type of a section listset_keysβ Sets the keys for the listget_keysβ Gets the keys for the listcount_keysβ Count the keys for the listget_namelistdataβ Gets name list dataset_namelistdataβ Saves name list dataget_labelalphadataβ Gets labelalpha field dataset_labelalphadataβ Saves labelalpha dataget_labelalphadata_for_keyβ Gets labelalpha field data for a keyset_labelalphadata_for_keyβ Saves labelalpha field data for a keyset_extradatedata_for_keyβ Saves extradate field data for a keyset_extranamedata_for_keyβ Saves extraname field data for a keyget_extranamedata_for_keyβ Gets the extraname field data for a keyset_extradatedataβ Saves extradate field data for all keysget_extradatedata_for_keyβ Gets the extradate field data for a keyset_extratitledata_for_keyβ Saves extratitle field data for a keyset_extratitledataβ Saves extratitle field data for all keysget_extratitledataβ Gets the extratitle field data for a keyset_extratitleyeardata_for_keyβ Saves extratitleyear field data for a keyset_extratitleyeardataβ Saves extratitleyear field data for all keysget_extratitleyeardataβ Gets the extratitleyear field data for a keyset_extraalphadata_for_keyβ Saves extraalpha field data for a keyset_extraalphadataβ Saves extraalpha field data for all keysget_extraalphadataβ Gets the extraalpha field data for a keyget_sortdataschemaβ Gets the sortdata schema for a sortlistset_sortdataschemaβ Saves the sortdata schema for a sortlistset_sortdataβ Saves sorting data in a list for a keyget_sortdata_for_keyβ Gets the sorting data in a list for a keyset_sortinitdata_for_keyβ Saves sortinit data for a specific keyset_sortinitdataβ Saves sortinit data for all keysget_sortinit_for_keyβ Gets the sortinit in a list for a keyset_sortingtemplateβ Sets the sortingtemplate of a listget_sortingtemplateβ Gets the sortingtemplate of a listadd_filterβ Adds a filter to a list object π
and that's only part 1 bestie, there's more coming, don't go anywhere π¦
get_filtersβ hands you back every filter chillin' on a list object. That's it, that's the whole vibe. β¨instantiate_entryβ okay so this one does the dynamic info replacement π for stuff that changes per-entry depending on which list it's in. Like, this is information that has to go out into the.bblfor an entry, but lowkey it's a property of the reference context and not the entry itself π«Ά. So it literally cannot be stored statically in the entry, no cap β it has to be pulled from the specific datalist at the moment you're outputting the entry. fr fr. πΈnamelist_differs_indexβ returns the index where a name list starts to differ from any other list π.
So picture these lists:
[a, b]
[a, b, d, e, f, g, h, i, j]
[a, b, d, e, f]
[a, b, e, z, z, y]
then:
namelist_differs_index([a, b, c, d, e]) -> 2
namelist_differs_index([a]) -> 1
the way it just finds the divergence point... iconic behavior honestly. π₯
namelist_differs_nthβ returns true if some other name list differs at the passed nth place and is at least as long. π
namelist_differs_nth([a, b, c, d, e], 3) = 1
if there is another name list like any of these:
[a, b, d, e, f]
[a, b, e, z, z, y]
length matters, bestie, don't forget it π
π AUTHORS π
Philip Kime <philip at kime.org.uk> β the legend themselves π
π BUGS π
Please report any bugs or feature requests on our Github tracker at <https://github.com/plk/biber/issues>. π
not me asking you to actually file the issue instead of just complaining in the group chat... iykyk π
π COPYRIGHT & LICENSE π
Copyright 2012-2026 Philip Kime, all rights reserved. β¨
This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0. π¨
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. β οΈ
and that's a wrap on Biber::DataList(3pm), bestie π«Ά this gorgeousness shipped as perl v5.42.3, dated 2026-08-14, straight from the User Contributed Perl Documentation crew β go forth and filter your datalists, mwah ππΈ
π¦ where this page comes from
- fedora 43: biber 2.22-1.fc43 Β· Artistic-2.0
- fedora 44: biber 2.22-2.fc44 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms