Not found locally for Dpkg::Compression::Process. Try Google search
| Use Case | Command | Description |
|---|---|---|
| Create a new process object | Dpkg::Compression::Process->new(%opts) |
🔧 Initialize with optional compression and compression_level |
| Set compression method | $proc->set_compression($comp) |
🔧 Select compression (e.g., gzip, bzip2) |
| Set compression level | $proc->set_compression_level($level) |
🔧 Select level (1–9) |
| Get compress command line | $proc->get_compress_cmdline() |
📋 Returns list for exec (compress) |
| Get decompress command line | $proc->get_uncompress_cmdline() |
📋 Returns list for exec (decompress) |
| Compress data | $proc->compress(%opts) |
📥📤 Start compressor, requires to_* and from_* |
| Decompress data | $proc->uncompress(%opts) |
📥📤 Start decompressor, requires to_* and from_* |
| Wait for process completion | $proc->wait_end_process(%opts) |
⏳✅ Wait and verify return code (optional nocheck) |
This module provides an object oriented interface to run and manage compression/decompression processes.
$proc = Dpkg::Compression::Process->new(%opts)compression and compression_level (see corresponding set_* functions).
$proc->set_compression($comp)compression_is_supported (of Dpkg::Compression).
$proc->set_compression_level($level)compression_is_valid_level (of Dpkg::Compression).
@exec = $proc->get_compress_cmdline()@exec = $proc->get_uncompress_cmdline()exec, its first element is the program name (either for compression or decompression) and the following elements are parameters for the program.$proc->compress(%opts)to_* and one parameter from_* as accepted by Dpkg::IPC::spawn.wait_end_process after having called this method to properly close the sub-process (and verify that it exited without error).
$proc->uncompress(%opts)to_* and one parameter from_* as accepted by Dpkg::IPC::spawn.wait_end_process after having called this method to properly close the sub-process (and verify that it exited without error).
$proc->wait_end_process(%opts)wait_child function. Most notably you can use the nocheck option to verify the return code yourself instead of letting wait_child do it for you.
Mark the module as public.
1.21.1 2025-09-09 Dpkg::Compression::Process(3perl)
Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-09 12:54 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)