Linux workstation

Upstream software project

libcarp-assert-perl

Perl module for executable comments

About libcarp-assert-perl

Perl module for executable comments

This project links 13 native package records across 10 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Alpine Linux 3.21: 2 package records; Alpine Linux 3.22: 2 package records; Alpine Linux 3.23: 2 package records; Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 1 package records; Fedora 44: 1 package records; openSUSE Leap 15.6: 1 package records; openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.libcarp-assert-perl: recorded package coverageAlpine Linux 3.212 recordsAlpine Linux 3.222 recordsAlpine Linux 3.232 recordsDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 431 recordsFedora 441 recordsopenSUSE Leap 15.61 records
OpenFactory diagram of linked package records. The first eight releases are shown; all 10 appear below. It is not an application screenshot.

Project identity

Project
libcarp-assert-perl
Publisher
Not authoritatively mapped
Native package records
13
Operating systems
alpine-linux-3-21, alpine-linux-3-22, alpine-linux-3-23, debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
GPL-1.0-or-later OR Artistic-1.0-Perl
Metadata completeness
70/100 (not a software quality rating)
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

"We are ready for any unforseen event that may or may not occur." - Dan Quayle Carp::Assert is intended for a purpose like the ANSI C library at http://en.wikipedia.org/wiki/Assert.h. If you're already familiar with assert.h, then you can probably skip this and go straight to the FUNCTIONS section. Assertions are the explicit expressions of your assumptions about the reality your program is expected to deal with, and a declaration of those which it is not. They are used to prevent your program from blissfully processing garbage inputs (garbage in, garbage out becomes garbage in, error out) and to tell you when you've produced garbage output. (If I was going to be a cynic about Perl and the user nature, I'd say there are no user inputs but garbage, and Perl produces nothing but...) An assertion is used to prevent the impossible from being asked of your code, or at least tell you when it does. For example: sub my_sqrt { my($num) = shift; assert($num >= 0); return sqrt $num; } The assertion will warn you if a negative number was handed to your subroutine, a reality the routine has no intention of dealing with. An assertion should also be used as something of a reality check, to make sure what your code just did really did happen: open(FILE, $filename) || die $!; @stuff = <FILE>; @stuff = do_something(@stuff); assert(@stuff > 0); The assertion makes sure you have some @stuff at the end. Maybe the file was empty, maybe do_something() returned an empty list... either way, the assert() will give you a clue as to where the problem lies, rather than 50 lines down at when you wonder why your program isn't printing anything. Since assertions are designed for debugging and will remove themelves from production code, your assertions should be carefully crafted so as to not have any side-effects, change any variables, or otherwise have any effect on your program. Here is an example of a bad assertation: assert($error = 1 if $king ne 'Henry'); # Bad! It sets an error flag which may then be used somewhere else in your program. When you shut off your assertions with the $DEBUG flag, $error will no longer be set. Here's another example of *bad* use: assert($next_pres ne 'Dan Quayle' or goto Canada); # Bad! This assertion has the side effect of moving to Canada should it fail. This is a very bad assertion since error handling should not be placed in an assertion, nor should it have side-effects. In short, an assertion is an executable comment. For instance, instead of writing this $life = begin_life(); you'd replace the comment with an assertion which *enforces* the comment. $life = begin_life(); assert( $life =~ /!$/ );

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Alpine Linux 3.21

  1. perl-carp-assert

    Alpine Linux 3.21 / source perl-carp-assert

    0.22-r1

    Perl module for executable comments

    aarch64x86_64v3.21
  2. perl-carp-assert-doc

    Alpine Linux 3.21 / source perl-carp-assert

    0.22-r1

    Perl module for executable comments (documentation)

    aarch64x86_64v3.21

Alpine Linux 3.22

  1. perl-carp-assert

    Alpine Linux 3.22 / source perl-carp-assert

    0.22-r1

    Perl module for executable comments

    aarch64x86_64v3.22
  2. perl-carp-assert-doc

    Alpine Linux 3.22 / source perl-carp-assert

    0.22-r1

    Perl module for executable comments (documentation)

    aarch64x86_64v3.22

Alpine Linux 3.23

  1. perl-carp-assert

    Alpine Linux 3.23 / source perl-carp-assert

    0.22-r1

    Perl module for executable comments

    aarch64x86_64v3.23
  2. perl-carp-assert-doc

    Alpine Linux 3.23 / source perl-carp-assert

    0.22-r1

    Perl module for executable comments (documentation)

    aarch64x86_64v3.23

Debian 12 (Bookworm)

  1. libcarp-assert-perl

    Debian 12 (Bookworm) / perl

    0.21-3

    Carp::Assert - executable comments for perl

    allbookworm

Debian 13 (Trixie)

  1. libcarp-assert-perl

    Debian 13 (Trixie) / perl

    0.22-1

    Carp::Assert - executable comments for perl

    alltrixie

Fedora 43

  1. perl-Carp-Assert

    Fedora 43 / Unspecified / source perl-Carp-Assert

    0.22-8.fc43

    Executable comments

    noarch43

Fedora 44

  1. perl-Carp-Assert

    Fedora 44 / Unspecified / source perl-Carp-Assert

    0.22-9.fc44

    Executable comments

    noarch44

openSUSE Leap 15.6

  1. perl-Carp-Assert

    openSUSE Leap 15.6 / Unspecified / source perl-Carp-Assert

    0.22-bp156.1.1

    Executable comments

    noarchleap-15.6

openSUSE Leap 16.0

  1. perl-Carp-Assert

    openSUSE Leap 16.0 / Unspecified / source perl-Carp-Assert

    0.22-bp160.1.11

    Executable comments

    noarchleap-16.0

openSUSE Tumbleweed

  1. perl-Carp-Assert

    openSUSE Tumbleweed / Unspecified / source perl-Carp-Assert

    0.220.0-1.5

    Executable comments

    noarchtumbleweed

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.

libcarp-assert-perl Software and Packages | OpenFactory