How to Install and Uninstall libtest-mockdatetime-perl Package on Kali Linux

Last updated: November 07,2024

1. Install "libtest-mockdatetime-perl" package

This guide let you learn how to install libtest-mockdatetime-perl on Kali Linux

$ sudo apt update $ sudo apt install libtest-mockdatetime-perl

2. Uninstall "libtest-mockdatetime-perl" package

This tutorial shows how to uninstall libtest-mockdatetime-perl on Kali Linux:

$ sudo apt remove libtest-mockdatetime-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtest-mockdatetime-perl package on Kali Linux

Package: libtest-mockdatetime-perl
Version: 0.02-4
Installed-Size: 21
Maintainer: Debian Perl Group
Architecture: all
Depends: perl:any, libdatetime-format-dateparse-perl, libdatetime-perl
Size: 6596
SHA256: bb2bb0ad937a80580100a294b136a42e4e2975ea984d0837fa40db3552bb3b0b
SHA1: 06403fe973ec8669cbd0cb954496376aaad780a0
MD5sum: 2428bf8a9bb0f633c31a130d9be285fa
Description: module to mock DateTime->now calls during tests
Getting the current time sometimes is not very helpful for testing scenarios.
Instead, if you could obtain a known value during the runtime of a testcase
will make your results predictable.
.
The Test::MockDateTime module allows faking a given date and time for the
runtime of a subsequent code block. By default the on keyword is exported
into the namespace of the test file. The date to get mocked must be in a
format that is recognized by DateTime::Format::DateParse.
Description-md5:
Homepage: https://metacpan.org/release/Test-MockDateTime
Section: perl
Priority: optional
Filename: pool/main/libt/libtest-mockdatetime-perl/libtest-mockdatetime-perl_0.02-4_all.deb