text
stringlengths
0
834k
desribe command with the name switch, and the name is found within
the current result, the index is set to the current one. If no
package is found, PPM creates a new search or query on-the-fly, and
sets it as the current search or query.
For example:
ppm:1:1> search Text
1. Convert-Context [0.501] an Attributed Text data type
2. gettext [1.01] message handling functions
3. HTML-FromText [1.005] mark up text as HTML
4. HTML-Subtext [1.03] Perform text substitutions on an HTML
template
5. Locale-Maketext [0.18] framework for software localization
ppm:1:1:s1>
ppm:1:1:s1> describe 1
====================
Package 1:
Name: Convert-Context
Version: 0.501
Author: Martin Schwartz (martin@nacho.de)
Abstract: an Attributed Text data type
Implementations:
1. i686-linux-thread-multi
2. MSWin32-x86-multi-thread
3. sun4-solaris-thread-multi
====================
ppm:1:1:s1:sp1>
The last prompt has an extra 'sp1'. That stands for 'search package
1', and it means that PPM considers 'Convert-Context' to be the
default package. If you now type 'describe' or 'install' with no
arguments, PPM will apply your command to this package.
If you go back to where you had no default package selected:
ppm:1:1> search Text
1. Convert-Context [0.501] an Attributed Text data type
2. gettext [1.01] message handling functions
3. HTML-FromText [1.005] mark up text as HTML
4. HTML-Subtext [1.03] Perform text substitutions on an HTML
template
5. Locale-Maketext [0.18] framework for software localization
ppm:1:1:s1>
...and you describe 'Locale-Maketext', you will see this:
ppm:1:1:s1> describe Locale-Maketext
====================
Name: Locale-Maketext
Version: 0.18
Author: Sean M. Burke (sburke@cpan.org)
Abstract: framework for software localization
Prerequisites:
1. I18N-LangTags 0.13
Implementations:
1. i686-linux-thread-multi
2. MSWin32-x86-multi-thread
3. sun4-solaris-thread-multi
====================
ppm:1:1:s1:sp5>
Notice that the correct package got selected, even though you
specified it by name.
This behaviour also applies to the query and properties commands.
See Also
describe, properties, query, search
END
#sub run_quickstart { $_[0]->run_help('quickstart') }
sub smry_quickstart { ""a crash course in using PPM"" }
sub help_quickstart { <<'END' }
quickstart -- a beginners' guide to PPM3
Description
PPM (Programmer's Package Manager) is a utility for managing software
""packages"". A package is a modular extension for a language or a
software program. Packages reside in repositories. PPM can use three
types of repositories:
1) A directory on a CD-ROM or hard drive in your computer
2) A website
3) A remote Repository Server (such as ASPN)
Common Commands:
To view PPM help:
help
help <command>
To view the name of the current repository:
repository
To search the current repository:
search <keywords>