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
Diagnostic if TIESCALAR fails to return a blessed reference #14293
Comments
From @epaCreated by @epaWhen tying a scalar, TIESCALAR should return a blessed reference (as #!/usr/bin/perl Here the TIESCALAR routine is returning 0 instead of a blessed reference. I suggest that if TIESCALAR fails to return a blessed reference, then tie $var, 'Package' or die 'cannot tie for some reason'; So it might be best to allow TIESCALAR to return false (flagging an Perl Info
|
From @epaFTR, this is still the same behaviour in 5.28.2. Perl continues on its way without tying the variable and without issuing any diagnostic. |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#123345 (status was 'open')
Searchable as RT123345$
The text was updated successfully, but these errors were encountered: