Linux workstation

Upstream software project

libstring-formatter-perl

Build sprintf-like functions of your own

About libstring-formatter-perl

Build sprintf-like functions of your own

This project links 9 native package records across 7 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

Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 2 package records; Fedora 44: 2 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.libstring-formatter-perl: recorded package coverageDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 432 recordsFedora 442 recordsopenSUSE Leap 15.61 recordsopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
libstring-formatter-perl
Publisher
Not authoritatively mapped
Native package records
9
Operating systems
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
Metadata completeness
100/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.

String::Formatter is a tool for building sprintf-like formatting routines. It supports named or positional formatting, custom conversions, fixed string interpolation, and simple width-matching out of the box. It is easy to alter its behavior to write new kinds of format string expanders. For most cases, it should be easy to build all sorts of formatters out of the options built into String::Formatter. Normally, String::Formatter will be used to import a sprintf-like routine referred to as "'stringf'", but which can be given any name you like. This routine acts like sprintf in that it takes a string and some inputs and returns a new string: my $output = stringf "Some %a format %s for you to %u.\n", { ... }; This routine is actually a wrapper around a String::Formatter object created by importing stringf. In the following code, the entire hashref after "stringf" is passed to String::Formatter's constructor (the 'new' method), save for the '-as' key and any other keys that start with a dash. use String::Formatter stringf => { -as => 'fmt_time', codes => { ... }, format_hunker => ..., input_processor => ..., }, stringf => { -as => 'fmt_date', codes => { ... }, string_replacer => ..., hunk_formatter => ..., }, ; As you can see, this will generate two stringf routines, with different behaviors, which are installed with different names. Since the behavior of these routines is based on the 'format' method of a String::Formatter object, the rest of the documentation will describe the way the object behaves. There's also a 'named_stringf' export, which behaves just like the 'stringf' export, but defaults to the 'named_replace' and 'require_named_input' arguments. There's a 'method_stringf' export, which defaults 'method_replace' and 'require_single_input'. Finally, a 'indexed_stringf', which defaults to 'indexed_replaced' and 'require_arrayref_input'. For more on these, keep reading, and check out the cookbook. String::Formatter::Cookbook provides a number of recipes for ways to put String::Formatter to use.

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.

Debian 12 (Bookworm)

  1. libstring-formatter-perl

    Debian 12 (Bookworm) / perl

    1.235-1

    module to build sprintf-like formatting routines

    allbookworm

Debian 13 (Trixie)

  1. libstring-formatter-perl

    Debian 13 (Trixie) / perl

    1.235-1

    module to build sprintf-like formatting routines

    alltrixie

Fedora 43

  1. perl-String-Formatter

    Fedora 43 / Unspecified / source perl-String-Formatter

    1.235-8.fc43

    Build sprintf-like functions of your own

    noarch43
  2. perl-String-Formatter-tests

    Fedora 43 / Unspecified / source perl-String-Formatter

    1.235-8.fc43

    Tests for perl-String-Formatter

    noarch43

Fedora 44

  1. perl-String-Formatter

    Fedora 44 / Unspecified / source perl-String-Formatter

    1.235-9.fc44

    Build sprintf-like functions of your own

    noarch44
  2. perl-String-Formatter-tests

    Fedora 44 / Unspecified / source perl-String-Formatter

    1.235-9.fc44

    Tests for perl-String-Formatter

    noarch44

openSUSE Leap 15.6

  1. perl-String-Formatter

    openSUSE Leap 15.6 / Unspecified / source perl-String-Formatter

    1.235-bp156.2.1

    Build sprintf-like functions of your own

    noarchleap-15.6

openSUSE Leap 16.0

  1. perl-String-Formatter

    openSUSE Leap 16.0 / Unspecified / source perl-String-Formatter

    1.235-bp160.1.12

    Build sprintf-like functions of your own

    noarchleap-16.0

openSUSE Tumbleweed

  1. perl-String-Formatter

    openSUSE Tumbleweed / Unspecified / source perl-String-Formatter

    1.235-1.13

    Build sprintf-like functions of your own

    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.