Skip to content

Refactored and optimized HPMHookGen script#3386

Open
MrKeiKun wants to merge 1 commit intoHerculesWS:masterfrom
MrKeiKun:fix-HPMHookGen-script
Open

Refactored and optimized HPMHookGen script#3386
MrKeiKun wants to merge 1 commit intoHerculesWS:masterfrom
MrKeiKun:fix-HPMHookGen-script

Conversation

@MrKeiKun
Copy link
Contributor

@MrKeiKun MrKeiKun commented Sep 1, 2025

Pull Request Prelude

Changes Proposed

  1. Path Independence: Dynamic path resolution using FindBin/Cwd
  2. File Change Detection: Smart writing prevents unnecessary rebuilds
  3. Enum Support: Added userconfig_from_sql_result with proper initialization
  4. Variable Scoping: Fixed Perl compilation issues
  5. Error Handling: Comprehensive warning suppression

Issues addressed:

Signed-off-by: Lorenzo Buitizon <the.keikun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant