HEX
Server: Apache
System: Linux b87bae7b6fa1 6.14.0-1013-aws #13~24.04.1-Ubuntu SMP Tue Sep 2 23:08:25 UTC 2025 x86_64
User: daemon (1)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: //lib/x86_64-linux-gnu/perl-base/parent.pm
package parent;
use strict;

our $VERSION = '0.238';

sub import {
    my $class = shift;

    my $inheritor = caller(0);

    if ( @_ and $_[0] eq '-norequire' ) {
        shift @_;
    } else {
        for ( my @filename = @_ ) {
            s{::|'}{/}g;
            require "$_.pm"; # dies if the file is not found
        }
    }

    {
        no strict 'refs';
        push @{"$inheritor\::ISA"}, @_; # dies if a loop is detected
    };
};

1;

__END__