EnglishFrenchSpanish

OnWorks favicon

perldigp - Online in the Cloud

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

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


perldig - Dig up keywords in the local Perl documentation

SYNOPSIS


# Update the index (required before first start)
perldig -u

# Search for a keyword
perldig keyword(s)

DESCRIPTION


When using "perldig" for the first time, a new index needs to be created. Just call

$ perldig -u

and everything happens automatically: A crawler will detect locally installed Perl
documentation pages, rummage through the POD and index them. When this initial run has
been completed, "perldig" is ready to process search requests:

$ perldig frobnicate

1) pod/perlguts.pod 2) pod/perlxstut.pod 3) pod/perlnewmod.pod

Enter number of choice:

The command above shows a search for the keyword "frobnicate". Yes, that's a word used in
the Perl documentation! It shows three hits and asks the user to enter a number between 1
and 3 to open the selected documentation page in a pager program (typically "less"). In
there, an in-text search for the expression can be started by using the "/" (slash)
command.

If two or more keywords are given, the search will yield pages that contain all of them.
When searching for phrases, please include quotes (make sure to quote the quotes so the
shell doesn't eat them):

$ perldig '"floating point"'

The underlying swish-e search engine also understands expressions connected via AND and
OR:

$ perldig "'floating point' AND approximate AND 'real number'"

To keep the index up to date, it is probably a good idea to run a cronjob every morning:

00 4 * * * /usr/bin/perldig -u >/dev/null 2>&1

If you can read German, please check out this article in the "Linux- Magazin", where this
script was originally published:

http://www.linux-magazin.de/Artikel/ausgabe/2003/10/perl/perl.html

EXAMPLES


# Update/create the index
$ perldig -u

$ perldig frobnicate

1) pod/perlguts.pod 2) pod/perlxstut.pod 3) pod/perlnewmod.pod

Enter number of choice: 1
[ ... perlguts man page shows ... ]

Use perldigp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad