Mason:...Import(3pm)

πŸ“¦
version 2.24 Β· 2 versions
  • 2.24 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 2.24 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Mason::Component::Import πŸ’–

okay so bestie, welcome to a page from the User Contributed Perl Documentation, section 3pm β€” yes that's the manual name, we're keeping it, it's part of the lore ✨. This one's short and sweet but it's important, so stay with me.


✨ NAME ✨

Mason::Component::Import β€” Extra component imports πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this module gets automatically use'd in every single generated Mason component class. like, every one. no cap. it just shows up. main character energy fr πŸ’…

and what does it import for you by default?? nothing. absolutely nothing. it's giving "shows up to the party empty-handed" 😭

BUT β€” and this is the fun part β€” if you want it to actually bring something, you can go modify the import_into method over in plugins, and then you can add imports. that's the whole move. that's the slay. πŸ‘‘

so like, out of the box: zero imports. you want imports? import_into in a plugin. periodt.

🌈 SEE ALSO 🌈

  • Mason β€” the whole vibe, the mothership, go read it 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Jonathan Swartz <swartz@pobox.com> β€” iconic, we stan, thank you for your service πŸ’œ


This software is copyright (c) 2012 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 🧚 so yes, you can absolutely mess with it, legally, go off.


k bye bestie, that's the whole page β€” no notes, it's a tiny one but she ate πŸ’–βœ¨

this was brought to you by perl v5.34.0, dated 2022-05-27 β€” mwah, catch you on the next manpage πŸ˜˜πŸŽ€

πŸ“¦ where this page comes from