{"id":15062287,"url":"https://github.com/poti1/subs-trace","last_synced_at":"2026-01-03T01:05:24.659Z","repository":{"id":60620841,"uuid":"542955353","full_name":"poti1/subs-trace","owner":"poti1","description":"Trace all calls in a package.","archived":false,"fork":false,"pushed_at":"2024-10-13T16:43:41.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T02:36:39.567Z","etag":null,"topics":["debugging-tool","hacktoberfest","perl","perl5"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poti1.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"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":"2022-09-29T06:24:53.000Z","updated_at":"2024-10-13T16:43:45.000Z","dependencies_parsed_at":"2024-11-21T08:35:59.714Z","dependency_job_id":null,"html_url":"https://github.com/poti1/subs-trace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poti1%2Fsubs-trace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poti1%2Fsubs-trace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poti1%2Fsubs-trace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poti1%2Fsubs-trace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poti1","download_url":"https://codeload.github.com/poti1/subs-trace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725633,"owners_count":20337670,"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":["debugging-tool","hacktoberfest","perl","perl5"],"created_at":"2024-09-24T23:33:46.301Z","updated_at":"2026-01-03T01:05:24.633Z","avatar_url":"https://github.com/poti1.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nSubs::Trace - Trace all calls in a package.\n\n# SYNOPSIS\n\nSimilar to\n\n    around 'my_function' =\u003e sub {\n      my $original = shift;\n      print \"--\u003e my_function\\n\";\n      $original-\u003e(@_);\n    };\n\nBut for ALL functions in a class.\n\n    package MyClass;\n\n    sub Func1 { ... }\n    sub Func2 { ... }\n    sub Func3 { ... }\n\n    use Subs::Trace;\n\n    Func1();\n    # Prints:\n    # --\u003e MyClass::Func1\n\n# DESCRIPTION\n\nThis module updates all methods/functions in a class to\nalso print a message when invoked.\n\n(This is a more of a proof-of-concept than useful!)\n\n# SUBROUTINES/METHODS\n\n## import\n\nNOTE: This must be put at the very bottom of a class.\n\nAlso, some reason `INIT{ ... }` is not being called with Moose.\n\nWill attach hooks to all functions defined BEFORE this import call.\n\n# AUTHOR\n\nTim Potapov, `\u003ctim.potapov at gmail.com\u003e`\n\n# BUGS\n\nPlease report any bugs or feature requests to [https://github.com/poti1/subs-trace/issues](https://github.com/poti1/subs-trace/issues).\n\n# SUPPORT\n\nYou can find documentation for this module with the perldoc command.\n\n    perldoc Subs::Trace\n\n# ACKNOWLEDGEMENTS\n\nTBD\n\n# LICENSE AND COPYRIGHT\n\nThis software is Copyright (c) 2022 by Tim Potapov.\n\nThis is free software, licensed under:\n\n    The Artistic License 2.0 (GPL Compatible)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoti1%2Fsubs-trace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoti1%2Fsubs-trace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoti1%2Fsubs-trace/lists"}