Shipwri...e::Base(3)

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

πŸ’– Shipwright::Source::Base πŸ’–

okay bestie, welcome to Shipwright::Source::Base β€” it's the base class of source, and yes that's the whole name section, we're keeping it short and sweet ✨

This page lives in the User Contributed Perl Documentation section of the manual, so you already know it's giving community-crafted, group-chat-approved energy πŸŽ€


🌸 SYNOPSIS 🌸

bestie there's literally no synopsis code here. nothing. empty. the vibe is mysterious πŸ’… (the original has a SYNOPSIS heading and then just moves on, so we're moving on too πŸ¦‹)


✨ METHODS ✨

🌈 new

just the constructor, no notes, no description, she simply exists πŸ‘‘

🌈 run

also here, also undescribed, also iconic πŸ”₯

🌈 just_name

trim the version stuff from dist name

that's it, that's the job β€” it takes the dist name and yeets the version bits out of it 🧚

🌈 just_version

return version

she gives you the version back. that's the whole personality πŸ“

🌈 is_compressed

return true if the source is compressed file, i.e. tar.gz(tgz) and tar.bz2

so if your source is a compressed file β€” think tar.gz (aka tgz) and tar.bz2 β€” she returns true πŸ’– no cap, that's the check 🫢


πŸ’œ AUTHORS πŸ’œ

sunnavy <sunnavy@bestpractical.com> β€” that's the author, show some respect 😌🌸


Shipwright is Copyright 2007-2015 Best Practical Solutions, LLC.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πŸ¦‹


and that's the whole page bestie, we ate and left no crumbs πŸ’…βœ¨

signing off with the deets: this was rendered from the User Contributed Perl Documentation manual, and the footer situation is perl v5.42.0 dated 2025-07-25 β€” mwah, love that for us πŸ’–πŸŽ€

πŸ“¦ where this page comes from