How to Install and Uninstall perl-File-Comments Package on openSUSE Leap
Last updated: November 08,2024
1. Install "perl-File-Comments" package
In this section, we are going to explain the necessary steps to install perl-File-Comments on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-File-Comments
Copied
2. Uninstall "perl-File-Comments" package
Here is a brief guide to show you how to uninstall perl-File-Comments on openSUSE Leap:
$
sudo zypper remove
perl-File-Comments
Copied
3. Information about the perl-File-Comments package on openSUSE Leap
Information for package perl-File-Comments:
-------------------------------------------
Repository : Main Repository
Name : perl-File-Comments
Version : 0.08-bp155.3.8
Arch : x86_64
Vendor : openSUSE
Installed Size : 70.5 KiB
Installed : No
Status : not installed
Source package : perl-File-Comments-0.08-bp155.3.8.src
Upstream URL : https://metacpan.org/release/File-Comments
Summary : Recognizes file formats and extracts format-specific comments
Description :
File::Comments guesses the type of a given file, determines the format used
for comments, extracts all comments, and returns them as a reference to an
array of chunks. Alternatively, it strips all comments from a file.
Currently supported are Perl scripts, C/C++ programs, Java, makefiles,
JavaScript, Python and PHP.
The plugin architecture used by File::Comments makes it easy to add new
formats. To support a new format, a new plugin module has to be installed.
No modifications to the File::Comments codebase are necessary, new plugins
will be picked up automatically.
File::Comments can also be used to simply guess a file's type. It it
somewhat more flexible than File::MMagic and File::Type. File types in
File::Comments are typically based on file name suffixes (*.c, *.pl, etc.).
If no suffix is available, or a given suffix is ambiguous (e.g. if several
plugins have registered a handler for the same suffix), then the file's
content is used to narrow down the possibilities and arrive at a decision.
WARNING: THIS MODULE IS UNDER DEVELOPMENT, QUALITY IS ALPHA. IF YOU FIND
BUGS, OR WANT TO CONTRIBUTE PLUGINS, PLEASE SEND THEM MY WAY.
-------------------------------------------
Repository : Main Repository
Name : perl-File-Comments
Version : 0.08-bp155.3.8
Arch : x86_64
Vendor : openSUSE
Installed Size : 70.5 KiB
Installed : No
Status : not installed
Source package : perl-File-Comments-0.08-bp155.3.8.src
Upstream URL : https://metacpan.org/release/File-Comments
Summary : Recognizes file formats and extracts format-specific comments
Description :
File::Comments guesses the type of a given file, determines the format used
for comments, extracts all comments, and returns them as a reference to an
array of chunks. Alternatively, it strips all comments from a file.
Currently supported are Perl scripts, C/C++ programs, Java, makefiles,
JavaScript, Python and PHP.
The plugin architecture used by File::Comments makes it easy to add new
formats. To support a new format, a new plugin module has to be installed.
No modifications to the File::Comments codebase are necessary, new plugins
will be picked up automatically.
File::Comments can also be used to simply guess a file's type. It it
somewhat more flexible than File::MMagic and File::Type. File types in
File::Comments are typically based on file name suffixes (*.c, *.pl, etc.).
If no suffix is available, or a given suffix is ambiguous (e.g. if several
plugins have registered a handler for the same suffix), then the file's
content is used to narrow down the possibilities and arrive at a decision.
WARNING: THIS MODULE IS UNDER DEVELOPMENT, QUALITY IS ALPHA. IF YOU FIND
BUGS, OR WANT TO CONTRIBUTE PLUGINS, PLEASE SEND THEM MY WAY.