This is the Linux app named pl whose latest release can be downloaded as App-pl-0.91.1.tgz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named pl with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
pl
DESCRIPTION:
Some tasks are too menial for a dedicated script but still too cumbersome even with the many neat one-liner options of "perl -E". This small script fills the gap: various one-letter commands & magic variables (with meaningful aliases too) and more nifty loop options take Perl programming to the command line. Fully imports List::Util. With no program on the command line, starts a pl Shell.
How to "e(cho)" values, including from "@A(RGV)", with single "$q(uote)" & double "$Q(uote)". Same for hard-to-print values:
$ pl 'e "${q}Perl$q", "$Q@A$Q"' one-liner
$ pl 'e \"Perl", \@A, undef' one-liner
Loop over args, printing each with line ending. And same, SHOUTING:
$ pl -opl '' Perl one-liner
$ pl -opl '$_ = uc' Perl one-liner
Print up to 3 matching lines, resetting count (and "$.") for each file:
$ pl -rP3 '/Perl.*one.*liner/' file*
Count hits in magic statistics hash "%N(UMBER)":
$ pl -n '++$N{$1} while /(Perl|one|liner)/g' file*
Features
- perl
- powerful
- terse
- one-liner
- onelinerer
- command line interface
- 1liner
- 1linerer
- cli
Audience
Advanced End Users
User interface
Command-line
Programming Language
Unix Shell, Perl
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/perl1liner/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.