RDF::NS::URIS(3pm)

πŸ“¦
this version Β· 6 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– RDF::NS::URIS πŸ’–

okay so bestie, lemme put you on to RDF::NS::URIS β€” it's giving Popular RDF namespace prefixes from prefix.cc as URI objects. ✨ no cap, that's literally the whole vibe.


🌸 SYNOPSIS 🌸

use RDF::NS::URIS;
use constant NS => RDF::NS::URIS->new('20230619');

NS->foaf_Person;             # an URI object
NS->uri('foaf:Person);       # same
NS->foaf_Person->as_string;  # http://xmlns.com/foaf/0.1/Person
🫢 bestie pls note: that second line is exactly as it appears, quote and all. we do not touch the code, ever. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so RDF::NS::URIS is lowkey just like RDF::NS, except β€” and this is the main character moment β€” it hands you back instances of URI instead of plain boring strings. it's the glow-up version fr fr. πŸ˜­πŸ’–

the one catch? you must have installed the module URI to use this package. no URI, no slay. that's the rule. πŸŽ€


✨ SEE ALSO ✨

  • URI::NamespaceMap β€” go look, iykyk πŸ‘‘

This software is copyright (c) 2013- by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


and that's the whole page, bestie 🫢 perl v5.38.2, dated 2024-01-21, from the User Contributed Perl Documentation collection. go forth and namespace responsibly. πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from