App::PRT(3pm)

πŸ“¦
version 0.22 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– App::PRT πŸ’–

okay bestie, so the manual name is App::PRT(3pm) and this is a Perl module manual page β€” aka the ✨ Command line Perl Refactoring Tool ✨. It's literally the library behind a command line tool for refactoring Perl. Group chat, but make it refactoring. πŸ¦‹


🌸 NAME 🌸

App::PRT β€” Command line Perl Refactoring Tool πŸ‘‘


✨ SYNOPSIS ✨

Like, this is the whole vibe in four lines:

use App::PRT::CLI;
my $cli = App::PRT::CLI->new;
$cli->parse(@ARGV);
$cli->run;

see? build the CLI object, parse your args, then run it. slay. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

App::PRT is command line tools for Refactoring Perl. that's it, that's the whole thing, and honestly? iconic. 🫢


🌈 CONTRIBUTING 🌈

so if you wanna help out (and you should, bestie, main character energy ✨), here's the tea:

App::PRT uses Minilla for development. and the tests assume . is in the Perl library path β€” which, on Perl 5.26+, is not the default anymore, so heads up.

🚨 not me forgetting this every single time β€” on Perl 5.26+, before you run minil test, you gotta add . to the path.

For example, in bash:

export PERL5LIB="$PERL5LIB":.

periodt. now your tests can actually find stuff. πŸ“

Each command in the prt tool is implemented by a corresponding class under App::PRT::Command. For example, rename_class is implemented by App::PRT::Command::RenameClass. so clean, so structured, we love a naming convention that just makes sense. πŸ’œ


πŸ‘€ SEE ALSO πŸ‘€

  • prt for command-line usage. (iykyk β€” that's where the actual typing happens. πŸ”₯)

πŸ“œ LICENSE πŸ“œ

Copyright (C) 2014-2019 hitode909 and contributors.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

hitode909 <hitode909@gmail.com>


aaaand that's a wrap! this page was served up by perl v5.36.0, dated 2023-10-03 β€” thanks for coming to my ted talk, bestie, go refactor something cute πŸŒΈπŸ’…πŸ¦‹

πŸ“¦ where this page comes from