Re: [perl #47233] Core dump caused by goto Dave Mitchell wrote:
> Are we now agreed that the segfault is the only thing that's buggy?

I still don't understand why the warning is generated.  The following:

    #!/usr/bin/perl

    use strict;
    use warnings;

    my $x;
    UNIVERSAL::isa(\\$x, undef);

produces:

    Use of uninitialized value in subroutine entry at ./bug2.pl line 7.

However, this doesn't produce any warnings:

    #!/usr/bin/perl

    use strict;
    use warnings;

    sub test {
        my ($thing, $class) = @_;
        return;
    }

    my $x;
    test(\\$x, undef);

Passing undef to a subroutine is permitted.  Why does passing undef to
UNIVERSAL::isa produce a warning?  It seems to me that this is a bug.


