Packages / openSUSE Leap 15.6 / Development/Libraries/Perl / perl-Data-Dump

Package: perl-Data-Dump (1.23-1.24)

Pretty printing of data structures

This module provide a few functions that traverse their argument and produces a string as its result. The string contains Perl code that, when 'eval'ed, produces a deep copy of the original arguments. The main feature of the module is that it strives to produce output that is easy to read. Example: @a = (1, [2, 3], {4 => 5}); dump(@a); Produces: "(1, [2, 3], { 4 => 5 })" If you dump just a little data, it is output on a single line. If you dump data that is more complex or there is a lot of it, line breaks are automatically added to keep it easy to read. The following functions are provided (only the dd* functions are exported by default): * dump( ... ) * pp( ... ) Returns a string containing a Perl expression. If you pass this string to Perl's built-in eval() function it should return a copy of the arguments you passed to dump(). If you call the function with multiple arguments then the output will be wrapped in parenthesis "( ..., ... )". If you call the function with a single argument the output will not have the wrapping. If you call the function with a single scalar (non-reference) argument it will just return the scalar quoted if needed, but never break it into multiple lines. If you pass multiple arguments or references to arrays of hashes then the return value might contain line breaks to format it for easier reading. The returned string will never be "\n" terminated, even if contains multiple lines. This allows code like this to place the semicolon in the expected place: print '$obj = ', dump($obj), ";\n"; If dump() is called in void context, then the dump is printed on STDERR and then "\n" terminated. You might find this useful for quick debug printouts, but the dd*() functions might be better alternatives for this. There is no difference between dump() and pp(), except that dump() shares its name with a not-so-useful perl builtin. Because of this some might want to avoid using that name. * quote( $string ) Returns a quoted version of the provided string. It differs from 'dump($string)' in that it will quote even numbers and not try to come up with clever expressions that might shorten the output. If a non-scalar argument is provided then it's just stringified instead of traversed. * dd( ... ) * ddx( ... ) These functions will call dump() on their argument and print the result to STDOUT (actually, it's the currently selected output handle, but STDOUT is the default for that). The difference between them is only that ddx() will prefix the lines it prints with "# " and mark the first line with the file and line number where it was called. This is meant to be useful for debug printouts of state within programs. * dumpf( ..., \&filter ) Short hand for calling the dump_filtered() function of the Data::Dump::Filtered manpage. This works like dump(), but the last argument should be a filter callback function. As objects are visited the filter callback is invoked and it can modify how the objects are dumped.

Other Packages Related to perl-Data-Dump:

  • dep: perl(:MODULE_COMPAT_5.26.1)

    Package not available

Download perl-Data-Dump

ArchitecturePackage sizeInstalled sizeFilesPackage
noarch37 KiB50 KiBlist of filesDownload

Caminhos de arquivo do pacote (13)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib/perl5/vendor_perl/5.26.1/Data
  • /usr/lib/perl5/vendor_perl/5.26.1/Data/Dump
  • /usr/lib/perl5/vendor_perl/5.26.1/Data/Dump/FilterContext.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/Data/Dump/Filtered.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/Data/Dump.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/Data/Dump/Trace.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
  • /usr/share/doc/packages/perl-Data-Dump
  • /usr/share/doc/packages/perl-Data-Dump/Changes
  • /usr/share/doc/packages/perl-Data-Dump/README
  • /usr/share/man/man3/Data::Dump.3pm.gz
  • /usr/share/man/man3/Data::Dump::Filtered.3pm.gz
  • /usr/share/man/man3/Data::Dump::Trace.3pm.gz

Field source: openSUSE Leap 15.6 OSS

Usar este pacote

O OpenFactory pode iniciar este sistema operacional em uma máquina virtual do navegador, ou começar uma construção que inclui o nome nativo do pacote deste registro.

Versões, suites e repositórios

Cada linha é metadado do índice de pacotes para uma versão, arquitetura, suite e repositório. Nomes, URLs e tamanhos vêm da fonte; um link é um ponto de obtenção mutável, não uma redistribuição da OpenFactory.

VersionReleaseArchitectureRepositoryPackage sizeInstalled sizePublisher repository artifact
1.23-1.24leap-15.6 / ossnoarchopenSUSE Leap 15.6 · OSS · multi-architecture37 KiB50 KiBnoarch/perl-Data-Dump-1.23-1.24.noarch.rpm

Field source: openSUSE Leap 15.6 OSS

Vulnerabilidades conhecidas

Nenhum aviso correspondente nas fontes acompanhadas.

Última sincronização:

[Catálogo de CVE]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

1.23-1.24 / noarchObservado Sep 1, 2026sha512 0fd7341f3269…7a5ed03bResumo da fonte

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Resumo da fonte (sha512): 0fd7341f3269ae67f70d16ff3898d79b3d974f2b9d701b96c9fe2dd7ca0189ffc5000093332854ca33395f65eaed5162c94f426c58ac776f39df53837a5ed03b

Field source: openSUSE Leap 15.6 OSS

Fontes

  • Authoritative source; repository metadata signature verified

    Evidência de assinatura

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable