How to Install and Uninstall perl-Test-Synopsis Package on openSUSE Leap
Last updated: November 23,2024
1. Install "perl-Test-Synopsis" package
In this section, we are going to explain the necessary steps to install perl-Test-Synopsis on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Test-Synopsis
Copied
2. Uninstall "perl-Test-Synopsis" package
In this section, we are going to explain the necessary steps to uninstall perl-Test-Synopsis on openSUSE Leap:
$
sudo zypper remove
perl-Test-Synopsis
Copied
3. Information about the perl-Test-Synopsis package on openSUSE Leap
Information for package perl-Test-Synopsis:
-------------------------------------------
Repository : Main Repository
Name : perl-Test-Synopsis
Version : 0.17-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 42.5 KiB
Installed : No
Status : not installed
Source package : perl-Test-Synopsis-0.17-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Test-Synopsis
Summary : Test your SYNOPSIS code
Description :
Test::Synopsis is an (author) test module to find .pm or .pod files under
your _lib_ directory and then make sure the example snippet code in your
_SYNOPSIS_ section passes the perl compile check.
Note that this module only checks the perl syntax (by wrapping the code
with 'sub') and doesn't actually run the code, *UNLESS* that code is a
'BEGIN {}' block or a 'use' statement.
Suppose you have the following POD in your module.
=head1 NAME
Awesome::Template - My awesome template
=head1 SYNOPSIS
use Awesome::Template;
my $template = Awesome::Template->new;
$tempalte->render("template.at");
=head1 DESCRIPTION
An user of your module would try copy-paste this synopsis code and find
that this code doesn't compile because there's a typo in your variable name
_$tempalte_. Test::Synopsis will catch that error before you ship it.
-------------------------------------------
Repository : Main Repository
Name : perl-Test-Synopsis
Version : 0.17-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 42.5 KiB
Installed : No
Status : not installed
Source package : perl-Test-Synopsis-0.17-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Test-Synopsis
Summary : Test your SYNOPSIS code
Description :
Test::Synopsis is an (author) test module to find .pm or .pod files under
your _lib_ directory and then make sure the example snippet code in your
_SYNOPSIS_ section passes the perl compile check.
Note that this module only checks the perl syntax (by wrapping the code
with 'sub') and doesn't actually run the code, *UNLESS* that code is a
'BEGIN {}' block or a 'use' statement.
Suppose you have the following POD in your module.
=head1 NAME
Awesome::Template - My awesome template
=head1 SYNOPSIS
use Awesome::Template;
my $template = Awesome::Template->new;
$tempalte->render("template.at");
=head1 DESCRIPTION
An user of your module would try copy-paste this synopsis code and find
that this code doesn't compile because there's a typo in your variable name
_$tempalte_. Test::Synopsis will catch that error before you ship it.