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

fix sql_obj() may fail with "undefined subroutine croak()" #2

Merged
merged 1 commit into from Feb 19, 2015

Conversation

Projects
None yet
2 participants
@spechenin
Contributor

spechenin commented Feb 14, 2015

sql_obj() has a call to croak(), but "use Carp" is missing.
So user script may get "undefined subroutine croak" if it does not use Carp too.
"use Carp" was added to fix this.

New test 02_init_named.t to cover the issue.

fix sql_obj() may fail with "undefined subroutine croak()"
sql_obj() has a call to croak(), but "use Carp" is missing.
So user script may get "undefined subroutine croak" if it does not use Carp too.
"use Carp" was added to fix this.

New test 02_init_named.t to cover the issue.

nekokak added a commit that referenced this pull request Feb 19, 2015

Merge pull request #2 from spechenin/prc2-carp
fix sql_obj() may fail with "undefined subroutine croak()"

@nekokak nekokak merged commit 642d9b4 into nekokak:master Feb 19, 2015

@spechenin spechenin deleted the spechenin:prc2-carp branch Feb 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment