| Use Case | Command | Description |
|---|---|---|
| Apply UTF-8 filter to an SDBM_File tied hash | $db->Filter_Push('utf8') | Ensures all data written to DBM is UTF-8 encoded |
| Apply filter with any DB backend (DB_File, GDBM_File, etc.) | use DBM_Filter; $db->Filter_Push('utf8') | Use the same filter across different DBM implementations |
| Quick integration example | tie %hash, 'SDBM_File', 'file.db', O_RDWR|O_CREAT, 0644; $db->Filter_Push('utf8') | Complete tie + filter one-liner |
use SDBM_File; # or DB_File, GDBM_File, NDBM_File, or ODBM_File
use DBM_Filter;
$db = tie %hash, ...
$db->Filter_Push('utf8');
Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-12 04:35 @2600:1f28:365:80b0:194e:56dd:d3a6:4135
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)