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
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • 2
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    tables...
    Download SQuirreL SQL Client
  • 3
    Brackets
    Brackets
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    prepr...
    Download Brackets
  • 4
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 5
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 6
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • More »

Linux commands

Ad