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
warnings::warnif is sometimes ignored.. #8559
Comments
From wiles@modarnis.comCreated by wiles@modarnis.comI expect the code below to print: Saw me. at ./perl_warnings_fails line 36 In fact, the "Fatal" is ignored and I get: Saw me. at ./perl_warnings_fails line 36 If I uncomment "my $y = \@_;" it works as expected. There is nothing I know it's in 5.8.7 and have been told it's in in 5.8.8 and bleadperl #!/usr/bin/perl package Foo; sub new my $instance = { }; return $instance; sub warnme($$) warnings::warnif($self, $text); 1; package main; sub wtest($) #my $y = \@_; $f->warnme('Saw me.'); { $f->warnme('Revenge from beyond the grave!'); my $g = Foo->new; Perl Info
|
From @rgsThis bug is a side-effect of a problem with the behaviour of @DB::args http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-12/msg00120.html |
@rgs - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#40144 (status was 'open')
Searchable as RT40144$
The text was updated successfully, but these errors were encountered: