Devel:...Sublike(3pm)

πŸ“¦
version 0.021 Β· 5 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Devel::Declare::Parser::Sublike πŸ’–

okay bestie, welcome to Devel:...Sublike(3pm) β€” yes that's the whole manual name, she's long, she's from the Perl docs, and she is so much simpler than she looks 🫢


✨ NAME ✨

Devel::Declare::Parser::Sublike β€” a parser that acts just like sub. that's it. that's the whole vibe. periodt πŸ’…


🌸 DESCRIPTION 🌸

okay so picture this: you wanna define a function. you got one single name and one single codeblock. that's literally it. it's giving sub energy, because it is sub energy β€” this parser lets you build your own keyword that behaves exactly like the classic sub keyword does πŸŽ€

and the name? lowkey flexible. it can be either a bareword or a quoted string. so whatever fits your little syntax moment, she supports it πŸ’–


πŸ‘‘ AUTHORS πŸ‘‘

  • Chad Granum β€” exodist7@gmail.com πŸ¦‹

Copyright (C) 2010 Chad Granum

Devel-Declare-Parser is free software; Standard perl licence. πŸ“

Devel-Declare-Parser is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details. (yes she's yelling, it's a legal thing, not a me thing 😭)


perl v5.36.0 Β· 2023-10-26

and that's the whole page bestie!! written up on perl v5.36.0, dated 2023-10-26, straight from the User Contributed Perl Documentation collection. go forth and parse your sublikes, you absolute icon πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from