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

unblessed reference #18

Open
kennethlau opened this issue Sep 3, 2020 · 3 comments · May be fixed by #19
Open

unblessed reference #18

kennethlau opened this issue Sep 3, 2020 · 3 comments · May be fixed by #19

Comments

@kennethlau
Copy link

kennethlau commented Sep 3, 2020

When using nginx perl module (https://github.com/nginx-modules/nginx-minify).

It show the following error !! started with ver 2.08
can't call method "isa" on unblessed reference at /usr/share/perl5/HTML/Packer.pm

I used the following work around

use Safe::Isa;
$_[0]->$_isa( PACKAGE )

instead of
$_[0]->isa( PACKAGE )

@leejo
Copy link
Owner

leejo commented Sep 3, 2020

Can you open a PR to fix this please? Thanks!

@kennethlau
Copy link
Author

I'm a newbie. Don't know how to do. Sorry!

@leejo
Copy link
Owner

leejo commented Sep 7, 2020

I'm a newbie. Don't know how to do. Sorry!

Sounds like this is a good opportunity to learn how 😄

xvaara added a commit to xvaara/html-packer-perl that referenced this issue Jan 8, 2024
fixes leejo#18 
can't belive this bug is still here, it has persisted few debian upgrades.
@xvaara xvaara linked a pull request Jan 8, 2024 that will close this issue
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 a pull request may close this issue.

2 participants