App::PRT(3pm)
π 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 runminil 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 π
prtfor 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
- debian trixie: prt 0.22-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: prt 0.22-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: prt 0.22-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms