{"id":19640520,"url":"https://github.com/kentnl/module-path-simplify","last_synced_at":"2026-05-07T16:17:20.778Z","repository":{"id":30357448,"uuid":"33909922","full_name":"kentnl/Module-Path-Simplify","owner":"kentnl","description":"Simplify absolute paths for pretty-printing","archived":false,"fork":false,"pushed_at":"2015-04-14T10:57:47.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-26T03:42:29.362Z","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/kentnl.png","metadata":{"files":{"readme":"README.mkdn","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}},"created_at":"2015-04-14T04:02:26.000Z","updated_at":"2015-04-14T10:57:51.000Z","dependencies_parsed_at":"2022-07-31T09:48:07.177Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/Module-Path-Simplify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kentnl/Module-Path-Simplify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FModule-Path-Simplify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FModule-Path-Simplify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FModule-Path-Simplify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FModule-Path-Simplify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/Module-Path-Simplify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FModule-Path-Simplify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32745435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-11T14:06:01.601Z","updated_at":"2026-05-07T16:17:20.763Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nModule::Path::Simplify - Simplify absolute paths for pretty-printing.\n\n# VERSION\n\nversion 0.001000\n\n# DESCRIPTION\n\nThis module aids in simplifying paths to modules you may already have had lying around,\nfor instance, like in `%INC`, and aids in compressing them into a format more easily skimmed,\nfor use in diagnostic reporting such as stack-traces, where legibility of the trace is more important\nto you than being able to use path `URIs` verbatim.\n\n# USAGE\n\n    use Module::Path::Simplify;\n\n    my $simplifier = Module::Path::Simplify-\u003enew();\n\n    print $simplifier-\u003esimplify( $INC{'Module/Path/Simplify.pm'} )\n      # This may output something like $INC[0]/Module/Path/Simplify.pm\n      # or even ${VP} or ${SP}, depending on where you installed it.\n\n    print $simplifier-\u003epp_aliases;\n      # This will emit a key =\u003e value table of all the aliases used so far\n      # by this instance, expanding the display setting of the alias to the path matched.\n      #\n      # In cases where the aliases are different to their display values for better compressability\n      # the raw internal alias names will be displayed in parentheses at the end of the line.\n\n# METHODS\n\n## `new`\n\nCreate a `simplifier` object.\n\nNormally, `new` captures the state of `@INC` at its creation time.\n\nThis can be disabled to use a per-resolution dynamic `@INC` via\n\n    -\u003enew( inc_dynamic =\u003e 1 );\n\nAdditionally, `@INC` can be overridden with a custom list via\n\n    -\u003enew( inc =\u003e [ @INC ] );\n\n[`inc_dynamic`](#inc_dynamic) and [`inc`](#inc) don't work together, and setting `inc_dynamic`\nwill cause `inc` to be ignored.\n\n## `simplify`\n\nReturn a simplified version of a path, or the path itself\nif there are no simplifications available\n\n    print $simpl-\u003esimplify( $INC{'Test/More.pm'} )\n\n## `aliases`\n\nReturns the internal alias tracking object.\n\n## `pp_aliases`\n\nReturn a string detailing the used simplification aliases\nand where they map to. ( And possibly their internal identifier )\n\n## `inc_dynamic`\n\nReturns whether or not this simplifier is using a dynamic `@INC`.\n\n## `inc`\n\nReturns the snapshot `@INC` in use when not using `inc_dynamic`\n\n# AUTHOR\n\nKent Fredric \u003ckentnl@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2015 by Kent Fredric \u003ckentfredric@gmail.com\u003e.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fmodule-path-simplify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fmodule-path-simplify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fmodule-path-simplify/lists"}