STAR::Filter(3pm)
π STAR::Filter π
okay bestie, welcome to STAR::Filter from the STAR perl module crew β it's literally a Perl extension for filtering DataBlock objects. that's the whole vibe.
Version check: this doc is talking about version 0.01 of the module. yes, baby version, we love an early era icon. β¨
β¨ SYNOPSIS β¨
use STAR::Filter;
that's it. that's the whole summoning ritual. π―οΈ
πΈ DESCRIPTION πΈ
so basically: this module holds the filter object, and its whole job is filtering DataBlock objects. where do those come from? DataBlock objects get created by Parser and then modified by DataBlock. so it's a little pipeline, bestie β parser makes 'em, datablock tweaks 'em, filter filters 'em. π
π CLASS METHODS π
π filter_dict
Usage: $filtered_dict = STAR::Filter->filter_dict(
-dict=>$dict,
-options=>$options);
a (very simplistic) interactive method for filtering a STAR::Dictionary object (you know, the .cob file π). it literally prompts the user for every single category and asks whether to include (retain) it in the filtered object. then it hands you back a reference to the filtered (reduced) STAR::Dictionary object. slay.
heads up bestie: this method is preliminary and subject to change. so don't get too attached to its exact behaviour, it's still in its glow-up era. π
π¦ filter_through_dict
Usage: $filtered_data = STAR::Filter->filter_through_dict(
-data=>$data,
-dict=>$dict,
-options=>$options);
this one filters a STAR::DataBlock object through a STAR::Dictionary object. it returns a reference to a brand new STAR::DataBlock object, and the only stuff that makes it into that new object is the items that were defined in the specified dictionary. everything else? not invited to the party. π
π AUTHOR π
Wolfgang Bluhm, mail@wbluhm.com β absolute legend, main character energy, fr fr. π
Acknowledgments
big ups and thank-yous to Phil Bourne, Helge Weissig, Anne Kuller, Doug Greer, Michele Bluhm, and others for support, help, and comments. the group chat really came through. π«Ά
β COPYRIGHT β
a full copyright statement is provided with the distribution, and here's the line that matters:
Copyright (c) 2000 University of California, San Diego
periodt. π
π SEE ALSO π
STAR::ParserSTAR::DataBlockSTAR::Dictionary
go read those too, iykyk. they're the rest of the squad. π
and that's a wrap on this lil doc, which was baked with perl v5.18.1 and dated 2001-05-22, filed under STAR::Filter(3pm). nostalgic iconic behavior honestly. stay filtered, bestie πβ¨π
π¦ where this page comes from
- debian bookworm: libstar-parser-perl 0.59-4
- debian trixie: libstar-parser-perl 0.59-4
- ubuntu jammy: libstar-parser-perl 0.59-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms