{"id":15557684,"url":"https://github.com/fgasper/p5-text-control","last_synced_at":"2025-03-29T03:46:31.473Z","repository":{"id":141192882,"uuid":"102732988","full_name":"FGasper/p5-Text-Control","owner":"FGasper","description":"CPAN’s Text::Control","archived":false,"fork":false,"pushed_at":"2019-05-12T02:31:11.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T13:45:12.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FGasper.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-07T12:14:19.000Z","updated_at":"2019-05-12T02:31:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f755bf4-a834-4458-b116-018dd183041a","html_url":"https://github.com/FGasper/p5-Text-Control","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":"0.16666666666666663","last_synced_commit":"6508735169330c1b3450cc63abb6cddf015ccab6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Text-Control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Text-Control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Text-Control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Text-Control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FGasper","download_url":"https://codeload.github.com/FGasper/p5-Text-Control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246135739,"owners_count":20729056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T15:20:20.229Z","updated_at":"2025-03-29T03:46:31.453Z","avatar_url":"https://github.com/FGasper.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nText::Control - Transforms of control characters\n\n# SYNOPSIS\n\n    use Text::Control;\n\n    Text::Control::to_dot(\"\\x00\\\\Hi\\x7fthere.\\x80\\xff\");    # .\\Hi.there...\n\n    Text::Control::to_hex(\"\\x00\\\\Hi\\x7fthere.\\x80\\xff\");\n    # \\x00\\\\Hi\\x7fthere.\\x80\\xff -- note the escaped backslash\n\n# DESCRIPTION\n\nThese are transforms that I find useful for debugging. Maybe you will, too?\n\n# NONPRINTABLE BYTES\n\nThis module considers byte numbers 32 - 126 to be “printable”; i.e., they\nrepresent actual ASCII characters. Anything outside this range is thus\n“nonprintable”.\n\n# FUNCTIONS\n\n## to\\_dot( OCTET\\_STRING )\n\nTransforms each nonprintable byte into a dot (`.`, ASCII 46) and returns\nthe result.\n\n## to\\_hex( OCTET\\_STRING )\n\nTransforms each nonprintable byte into the corresponding \\\\x.. sequence,\nappropriate for feeding into\n`eval()`. For example, a NUL byte comes out as `\\x00`.\n\nIn order to make this encoding reversible, backslash characters (`\\`) are\ndouble-escaped (i.e., `\\` becomes `\\\\`).\n\n## from\\_hex( FROM\\_TO\\_HEX )\n\nThis transforms the result of `to_hex()` back into its original form.\nI’m not sure this is actually useful :), but hey.\n\n# AUTHOR\n\nFelipe Gasper (FELIPE)\n\n# REPOSITORY\n\n[https://github.com/FGasper/p5-Text-Control](https://github.com/FGasper/p5-Text-Control)\n\n# COPYRIGHT\n\nThis program is free software; you can redistribute\nit and/or modify it under the same terms as Perl itself.\n\nThe full text of the license can be found in the\nLICENSE file included with this module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgasper%2Fp5-text-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgasper%2Fp5-text-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgasper%2Fp5-text-control/lists"}