create-modulino(1p)

πŸ“¦ version 2.0.13, in ubuntu stonking

πŸ’– NAME πŸ’–

create-modulino β€” bestie, this makes a CLI wrapper around a modulino. That's the whole vibe. ✨


🌸 SYNOPSIS 🌸

okay so like, three ways to use this, depending on where you want the thing to land:

# create $RealBin/my-app
create-modulino -m My::App

# create /usr/local/bin/my-app
create-modulino -i /usr/local/bin -m My::App

# create /usr/local/bin app
create-modulino -a app -i /usr/local/bin -m My::App

✨ Options ✨

  • -h, --help β€” help 🫢 (it's giving "I got you")
  • -a, --alias β€” the name of the modulino. default is the module name, but lower cased and snake cased, periodt.
  • -m, --module β€” the module name πŸ’… the actual Perl module that implements the modulino.
  • -i, --installbindir β€” the executable directory, aka where the wrapper gets dropped.

πŸŽ€ Example πŸŽ€

create-modulino -i /usr/local/bin -a find-requires -m Module::ScanDeps::FindRequires

πŸ¦‹ DESCRIPTION πŸ¦‹

It creates a so-called wrapper for a so-called "modulino". modulino is such a cute word ngl. Modulinos are Perl modules that use this pattern:

caller or exit __PACKAGE__->main

…and the whole point is that it lets you flexibly use a Perl module as a script. main character energy fr fr. πŸ‘‘

heads up bestie, go read CLI::Simple for more info about modulinos, that's where the tea is. πŸ“

πŸ’œ AUTHOR πŸ’œ

Rob Lauer β€” <rlauer@treasurersbriefcase.com> 🌟


🌈 SEE ALSO 🌈

CLI::Simple β€” literally the icon, the blueprint, the moment. ✨


okay and just so you know where this came from: this page is from perl v5.40.1, dated 2026-07-10, and it lives under User Contributed Perl Documentation as create-modulino(1p). mwah, that's a wrap. πŸ’–πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from