Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate global variable %D #8

Merged
merged 1 commit into from
Apr 5, 2013
Merged

Conversation

bonsaiviking
Copy link
Contributor

Global variable %D was used to keep a per-instance state (but also
prevented per-instance callbacks). Replacing XML::Twig callbacks with
subs calling instance methods allows using the object itself to store
this state info instead. Also eliminated obsolete "use vars" in favor of
"our" declaration (valid since 5.6.0, March 2000)

Global variable `%D` was used to keep a per-instance state (but also
prevented per-instance callbacks). Replacing XML::Twig callbacks with
subs calling instance methods allows using the object itself to store
this state info instead. Also eliminated obsolete "use vars" in favor of
"our" declaration (valid since 5.6.0, March 2000)
apersaud added a commit that referenced this pull request Apr 5, 2013
Eliminate global variable %D
@apersaud apersaud merged commit a6f5f2f into modernistik:master Apr 5, 2013
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.

2 participants