Shipwri...leanINC(3)

πŸ“¦
version 2.4.42 Β· 2 versions
, in fedora 43

✨ NAME ✨

okay so bestie, we're talking about Shipwright::Util::CleanINC β€” it's a Perl module from the Shipwright fam, and its whole entire job? Cleaning @INC. that's it. that's the gig. πŸ’…


🧼 DESCRIPTION 🧼

so like, @INC is that list of places Perl goes looking for modules, right? and this module is the one that says "girl, we're decluttering." πŸŽ€

it limits @INC so it only contains "Core" and PERL5LIB. and when I say Core, I mean technically β€” and bestie, listen, the "technically" is doing heavy lifting here β€” these specific bad boys:

  • $Config::Config{privlibexp}
  • $Config::Config{archlibexp}
  • $Config::Config{updatesarch}
  • $Config::Config{updateslib}

and the last two? those ones are used in Mac. yep. very much a Mac thing. 🍎✨

so yeah, Core + PERL5LIB, and everything else is out. main character energy for your @INC. no cap. πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

<sunnavy>sunnavy</sunnavy> β€” <sunnavy@bestpractical.com>

they ate, fr fr. 🫢


Copyright 2007-2015 Best Practical Solutions.

this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. so like, go off, do your thing, just keep it Perl-flavored. πŸ’œ


and that's the whole page bestie, no notes πŸ’€

shipwri...leaninc(3) β€” from the User Contributed Perl Documentation corner of the universe 🌈

came with perl v5.42.0, dated 2025-07-25. mwah. πŸ’–πŸŒΈ

πŸ“¦ where this page comes from