EnglishFrenchSpanish

OnWorks favicon

prtp - Online in the Cloud

Run prtp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command prtp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


prt - Command line frontend of App::PRT

SYNOPSIS


$ prt <command> <args>
$ prt <command> <args> <files>

DESCRIPTION


prt is the command line frontend of App::PRT.

SUBCOMMANDS


· replace_token

Replace "foo" token with "bar".

prt replace_token foo bar

Replace "foo" token with "bar" but target statements must have "bazz" token.

prt replace_token foo bar --in-statement bazz

· rename_class

Rename "Foo" class to "Bar" class.

prt rename_class Foo Bar

· rename_namespace

Rename "Foo" and "Foo::*" classes to "Bar" and "Bar::*" classes.

prt rename_namespace Foo Bar

· delete_method

Delete "eat" method from "Food" class.

prt delete_method Food eat

· move_class_method

Move "method" method in "Class" class to "another_method" method in "AnotherClass".
"Class"'s including packages are copied to "AnotherClass".

prt move_class_method 'Class#method' 'AnotherClass#another_method'

TARGET FILES


You can specify the target files to refactor.

prt replace_token foo bar lib/**/**.pm t/*.t # Refactor Perl modules in lib/ and test files in t/

Without target files, "App::PRT" collects source codes in your project automatically.
"App::PRT" searches "cpanfile" to detect project root directory. When executed in git
repository, All files in the repository are used.

prt replace_token foo bar # Refactor the project in current working directory

Use prtp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

Ad