Biblio...egment(3pm)
π Biblio::SICI::ControlSegment β the control segment of a SICI π
okay bestie, you found your way into the Biblio...egment(3pm) page (that's the Biblio::SICI::ControlSegment bit of the User Contributed Perl Documentation, if we're being official about it) and honestly? you're in the right place. this is where the SICI keeps all its little control codes. let's get into it π¦
β¨ VERSION β¨
version 0.04 β that's the vibe, that's the version π
πΈ SYNOPSIS πΈ
like, here's the whole energy:
my $sici = Biblio::SICI->new();
$sici->control->csi(2);
π DESCRIPTION π
okay so FIRST THING: you are expected to not directly instantiate objects of this class. like, do not do it. let Biblio::SICI handle that for you, bestie. this is a hands-off class, it's giving "look but don't touch" π
so what IS this thing? the control segment of a SICI describes various aspects of the thing referenced by the SICI, and it does that using pre-defined codes β very structured, very demure, very mindful. the segment also carries some meta-information about the SICI itself. iconic behavior tbh π
π ATTRIBUTES π
For each attribute, clearer (clear_) and predicate (has_) methods are provided. so like, you can wipe it, and you can ask "do you even have one of these?" β both are covered π
π dpi
The Derivative Part Identifier tells us what kind of thing is described by the SICI. It can take one of four different values:
0=> SICI describes Serial Item or Contribution itself1=> SICI describes ToC of Serial Item or Contribution2=> SICI describes Index of Serial Item or Contribution3=> SICI describes Abstract of Serial Item or Contribution
The default value is 0. yes bestie, zero, the humble origin story β
π¦ mfi
The Medium / Format Identifier can take one of these codes:
CD=> Computer-readable optical media (CD-ROM)CF=> Computer-readable magnetic disk mediaCO=> Online (remote)CT=> Computer-readable magnetic tape mediaHD=> MicrofilmHE=> MicroficheSC=> Sound recordingTB=> BrailleTH=> Printed text, hardboundTL=> Printed text, looseleafTS=> Printed text, softcoverTX=> Printed textVX=> Video recordingZN=> Multiple physical formsZU=> Physical form unknownZZ=> Other physical form
The default value is ZU. as in, "physical form unknown", as in, we don't know her yet π sixteen whole codes and every one of them matters, no cap.
π version
The number of the standards version to which the SICI should adhere. The default is 2 (which means Z39.56-1996), since that is also the only currently supported version. so like... it's 2 or it's nothing, fr fr. the range is a single number wide and she's standing in it π
π METHODS π
π csi
The Code Structure Identifier tells something about which parts of the SICI carry values. It can take one of three values:
1=> SICI for Serial Item2=> SICI for Serial Contribution3=> SICI for Serial Contribution "with obscure numbering"
This method automatically derives the correct value from the presence of the respective data elements in the item and contribution segments. If no data is present in the contribution segment the final default is 1. so she reads the room and picks for you, and if the contribution segment is empty she just goes with 1. queen of making decisions β¨
π
STRING to_string()
Returns a stringified representation of the data in the control segment.
Please note that the check digit is not considered to be a part of the control segment (but the - preceding it in the SICI string is). read that twice bestie, because the check digit is out here living its own life and only the little dash gets an invite to the control segment party π
π§ reset()
Resets all attributes to their default values. factory reset, but make it cute π¦
πΈ BOOL is_valid()
Checks if the data for the control segment conforms to the standard. vibe check, but for standards compliance, and honestly? that IS a vibe check π―
β SEE ALSO β
Biblio::SICI::Role::ValidSegment
π«Ά AUTHOR π«Ά
Heiko Jansen <hjansen@cpan.org> β the icon, the legend, the moment π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Heiko Jansen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so go forth, remix, redistribute, all that good stuff π
and that's the whole page bestie, no notes, we ate π½οΈβ¨ this was documented by way of perl v5.36.0 and dated 2023-02-06 β so if you're reading this, shoutout to that exact perl and that exact day, mwah πππ
π¦ where this page comes from
- debian bookworm: libbiblio-sici-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbiblio-sici-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbiblio-sici-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbiblio-sici-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbiblio-sici-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms