How to Install and Uninstall perl-Time-Duration-Parse Package on openSUSE Leap

Last updated: May 13,2024

1. Install "perl-Time-Duration-Parse" package

Please follow the guidance below to install perl-Time-Duration-Parse on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Time-Duration-Parse

2. Uninstall "perl-Time-Duration-Parse" package

Please follow the instructions below to uninstall perl-Time-Duration-Parse on openSUSE Leap:

$ sudo zypper remove perl-Time-Duration-Parse

3. Information about the perl-Time-Duration-Parse package on openSUSE Leap

Information for package perl-Time-Duration-Parse:
-------------------------------------------------
Repository : Main Repository
Name : perl-Time-Duration-Parse
Version : 0.16-bp155.2.11
Arch : noarch
Vendor : openSUSE
Installed Size : 26.7 KiB
Installed : No
Status : not installed
Source package : perl-Time-Duration-Parse-0.16-bp155.2.11.src
Upstream URL : https://metacpan.org/release/Time-Duration-Parse
Summary : Parse string that represents time duration
Description :
Time::Duration::Parse is a module to parse human readable duration strings
like _2 minutes and 3 seconds_ to seconds.
It does the opposite of Time::Duration/duration_exact function in
Time::Duration and is roundtrip safe. So, the following is always true.
use Time::Duration::Parse;
use Time::Duration;
my $seconds = int rand 100000;
is( parse_duration(duration_exact($seconds)), $seconds );