Busine...BR::Biz(3pm)
๐ Business::BR::Biz (a 3pm user-contributed Perl doc)
okay bestie, welcome to the page for Business::BR::Biz, the module from the biz-br / Business-BR-Ids corner of CPAN. it's giving Brazilian-business-subjects energy, and it's also giving deprecated energy, so like, read the fine print ๐
โจ NAME โจ
Business::BR::Biz โ DEPRECATED (the old description was: Modules for Brazilian business-related subjects). ๐ซถ
๐ธ SYNOPSIS ๐ธ
use Business::BR::Biz; # does nothing, it is here because of POD and $VERSION
okay so real talk, this use line is basically a decorative plant ๐ชด โ it does nothing. it's only hanging out here for the POD and the $VERSION. iconic, honestly.
๐ DESCRIPTION ๐
this module used to be a placeholder โ like a sticky note on the fridge ๐งฒ โ holding the overview for the 'biz-br' distribution, which is now called 'Business-BR-Ids'. and soon, not even that: they're gonna get rid of it entirely by scooping up the intro docs living here and moving them over to Business::BR::Ids. no cap. ๐ฆ
๐ EXPORT ๐
None by default. that's it, that's the whole vibe. nothing comes out unless you ask. ๐
๐ฅ TESTING CORRECTNESS ๐ฅ
so among all the functionalities that are gonna be available in this distribution, there are tests for the correctness of typical identification numbers and codes. very demure, very mindful of your digits. โจ
to be correct here means one very specific thing: it satisfies certain easily computed rules. like, a CPF number is correct if it's 11-digits-long and it satisfies two check equations which validate the check digits. math serving looks, fr fr. ๐งฎ
the modules "Business::BR::*" will provide subroutines "test_*" for testing the correctness of such concepts. those are the little guys doing the work. ๐ซก
โ ๏ธ big important vibe check: being correct does NOT mean an identification number or code has been verified to stand for some real entry โ like, an actual Brazilian taxpayer citizen in the case of CPF. nope! that would require access to government databases which may or may not be available on a public basis. and besides, to verify something will not be easily computed in general, implying access to databases and applying specialized rules. so like, don't come for us. ๐ญ
here we're trying to stick to a consistent terminology, and 'correct' will always mean validity against syntactical forms and shallow semantics. meanwhile 'verified' is the word reserved for telling if an entity really makes sense in the real world. ๐
and bestie, this convention is purely arbitrary โ it's for the sake of being formal in some way, that's literally all. terms like 'test', 'verify', 'check', 'validate', 'correct', 'valid' get thrown around interchangeably in colloquial prose. we just be like that. ๐คทโ๏ธ
๐ EXAMPLES ๐
as a rule, the documentation and tests choose correct identification codes which are verified to be invalid by the time of the distribution update. yes, you read that right โ correct but fake. ๐
that is, in Business::BR::CPF, the mentioned correct CPF number '390.533.447-05' is correct, but doesn't actually exist in government databases. she's valid syntactically and completely made up. main character energy, zero real footprint. ๐
๐ SEE ALSO ๐
as you might have guessed, this is not the first Perl distribution to approach this kind of functionality. take a look at ๐
http://search.cpan.org/search?module=Brasil::Checar::CPF
http://search.cpan.org/search?module=Brasil::Checar::CGC
http://search.cpan.org/~mamawe/Algorithm-CheckDigits-0.38/CheckDigits/M11_004.pm
if you want to find out about the namespace Business::BR, follow the link. ๐
and please report bugs via CPAN RT, at:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-BR-Ids
๐ AUTHOR ๐
A. R. Ferreira, <ferreira@cpan.org> ๐ซถ
โญ COPYRIGHT AND LICENSE โญ
Copyright (C) 2005 by A. R. Ferreira
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. ๐๐
and that's the whole page, bestie!! ๐ this was perl v5.36.0, dated 2022-10-13, brought to you by User Contributed Perl Documentation, and yes it really does spell the name Busine...BR::Biz up there in the header like someone got distracted mid-typing. slay. ๐
โจ
๐ฆ where this page comes from
- ubuntu noble: libbusiness-br-ids-perl 0.0022-3 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbusiness-br-ids-perl 0.0022-3 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbusiness-br-ids-perl 0.0022-3 ยท 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