EnglishFrenchSpanish

OnWorks favicon

perlshp - Online in the Cloud

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

This is the command perlshp 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


perlsh - one-line perl evaluator with line editing function and variable name
completion function

SYNOPSIS


perlsh

DESCRIPTION


This program reads input a line, and evaluates it by perl interpreter, and prints the
result. If the result is a list value then each value of the list is printed line by
line. This program can be used as a very strong calculator which has whole perl
functions.

This is a sample program Term::ReadLine::Gnu module. When you input a line, the line
editing function of GNU Readline Library is available. Perl symbol name completion
function is also available.

Before invoking, this program reads ~/.perlshrc and evaluates the content of the file.

When this program is terminated, the content of the history buffer is saved in a file
~/.perlsh_history, and it is read at next invoking.

VARIABLES


You can customize the behavior of "perlsh" by setting following variables in ~/.perlshrc;

$PerlSh::PS1
The primary prompt string. The following backslash-escaped special characters can be
used.

\h: host name
\u: user name
\w: package name
\!: history number

The default value is `"\w[\!]$ "'.

$PerlSh::PS2
The secondary prompt string. The default value is `"> "'.

$PerlSh::HISTFILE
The name of the file to which the command history is saved. The default value is
"~/.perlsh_history".

$PerlSh::HISTSIZE
If not "undef", this is the maximum number of commands to remember in the history.
The default value is 256.

$PerlSh::STRICT
If true, restrict unsafe constructs. See "use strict" in perl man page. The default
value is 0;

Use perlshp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 4
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 6
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • More »

Linux commands

Ad