Current Path: > > > usr > share > perl5 > vendor_perl >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Algorithm | Directory | - | - | |
App | Directory | - | - | |
Archive | Directory | - | - | |
Authen | Directory | - | - | |
B | Directory | - | - | |
CPAN | Directory | - | - | |
Carp | Directory | - | - | |
Config | Directory | - | - | |
Data | Directory | - | - | |
Date | Directory | - | - | |
Digest | Directory | - | - | |
Encode | Directory | - | - | |
Error | Directory | - | - | |
Exporter | Directory | - | - | |
ExtUtils | Directory | - | - | |
File | Directory | - | - | |
Filter | Directory | - | - | |
Getopt | Directory | - | - | |
Git | Directory | - | - | |
HTML | Directory | - | - | |
HTTP | Directory | - | - | |
IO | Directory | - | - | |
IPC | Directory | - | - | |
JSON | Directory | - | - | |
LWP | Directory | - | - | |
Locale | Directory | - | - | |
MRO | Directory | - | - | |
Math | Directory | - | - | |
Module | Directory | - | - | |
Mozilla | Directory | - | - | |
Net | Directory | - | - | |
POD2 | Directory | - | - | |
Package | Directory | - | - | |
Params | Directory | - | - | |
Parse | Directory | - | - | |
Perl | Directory | - | - | |
PerlIO | Directory | - | - | |
Pod | Directory | - | - | |
Software | Directory | - | - | |
Sub | Directory | - | - | |
TAP | Directory | - | - | |
Term | Directory | - | - | |
Test | Directory | - | - | |
Test2 | Directory | - | - | |
Text | Directory | - | - | |
Thread | Directory | - | - | |
Time | Directory | - | - | |
Try | Directory | - | - | |
Types | Directory | - | - | |
WWW | Directory | - | - | |
autodie | Directory | - | - | |
inc | Directory | - | - | |
lib | Directory | - | - | |
libwww | Directory | - | - | |
local | Directory | - | - | |
CPAN.pm | File | 141325 bytes | June 03 2025 14:32:20. | |
Carp.pm | File | 31043 bytes | October 13 2019 07:06:13. | |
Digest.pm | File | 10706 bytes | October 13 2019 08:28:15. | |
Env.pm | File | 5524 bytes | March 02 2013 17:10:37. | |
Error.pm | File | 24872 bytes | October 14 2019 15:30:40. | |
Expect.pm | File | 100447 bytes | May 18 2017 19:07:59. | |
Exporter.pm | File | 18746 bytes | October 13 2019 08:52:02. | |
Fatal.pm | File | 58176 bytes | July 09 2015 07:16:41. | |
Git.pm | File | 48072 bytes | July 22 2025 14:33:06. | |
LWP.pm | File | 21676 bytes | June 05 2018 18:49:03. | |
Test2.pm | File | 6393 bytes | March 30 2018 05:53:02. | |
autodie.pm | File | 12886 bytes | July 09 2015 07:16:41. | |
bigint.pm | File | 23398 bytes | February 03 2018 10:59:33. | |
bignum.pm | File | 21137 bytes | February 03 2018 10:59:37. | |
bigrat.pm | File | 16154 bytes | February 03 2018 10:59:42. | |
constant.pm | File | 14724 bytes | October 13 2019 13:55:02. | |
experimental.pm | File | 6993 bytes | December 03 2017 17:40:21. | |
newgetopt.pl | File | 2206 bytes | July 09 2010 12:26:51. | |
ok.pm | File | 967 bytes | March 30 2018 05:53:02. | |
parent.pm | File | 2575 bytes | July 06 2018 17:53:12. | |
perldoc.pod | File | 9376 bytes | August 02 2016 16:31:42. | |
perlfaq.pm | File | 77 bytes | June 05 2018 05:02:52. | |
perlfaq.pod | File | 22757 bytes | June 05 2018 05:02:52. | |
perlfaq1.pod | File | 14457 bytes | June 05 2018 05:02:52. | |
perlfaq2.pod | File | 9466 bytes | June 05 2018 05:02:52. | |
perlfaq3.pod | File | 37535 bytes | June 05 2018 05:02:52. | |
perlfaq4.pod | File | 89399 bytes | June 05 2018 05:02:52. | |
perlfaq5.pod | File | 55506 bytes | June 05 2018 05:02:52. | |
perlfaq6.pod | File | 39618 bytes | June 05 2018 05:02:52. | |
perlfaq7.pod | File | 37816 bytes | June 05 2018 05:02:52. | |
perlfaq8.pod | File | 50105 bytes | June 05 2018 05:02:52. | |
perlfaq9.pod | File | 14847 bytes | June 05 2018 05:02:52. | |
perlglossary.pod | File | 137232 bytes | June 05 2018 05:02:52. |
package parent; use strict; our $VERSION = '0.237'; 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__ =encoding utf8 =head1 NAME parent - Establish an ISA relationship with base classes at compile time =head1 SYNOPSIS package Baz; use parent qw(Foo Bar); =head1 DESCRIPTION Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Mostly similar in effect to package Baz; BEGIN { require Foo; require Bar; push @ISA, qw(Foo Bar); } By default, every base class needs to live in a file of its own. If you want to have a subclass and its parent class in the same file, you can tell C<parent> not to load any modules by using the C<-norequire> switch: package Foo; sub exclaim { "I CAN HAS PERL" } package DoesNotLoadFooBar; use parent -norequire, 'Foo', 'Bar'; # will not go looking for Foo.pm or Bar.pm This is equivalent to the following code: package Foo; sub exclaim { "I CAN HAS PERL" } package DoesNotLoadFooBar; push @DoesNotLoadFooBar::ISA, 'Foo', 'Bar'; This is also helpful for the case where a package lives within a differently named file: package MyHash; use Tie::Hash; use parent -norequire, 'Tie::StdHash'; This is equivalent to the following code: package MyHash; require Tie::Hash; push @ISA, 'Tie::StdHash'; If you want to load a subclass from a file that C<require> would not consider an eligible filename (that is, it does not end in either C<.pm> or C<.pmc>), use the following code: package MySecondPlugin; require './plugins/custom.plugin'; # contains Plugin::Custom use parent -norequire, 'Plugin::Custom'; =head1 HISTORY This module was forked from L<base> to remove the cruft that had accumulated in it. =head1 CAVEATS =head1 SEE ALSO L<base> =head1 AUTHORS AND CONTRIBUTORS Rafaƫl Garcia-Suarez, Bart Lateur, Max Maischein, Anno Siegel, Michael Schwern =head1 MAINTAINER Max Maischein C< corion@cpan.org > Copyright (c) 2007-2017 Max Maischein C<< <corion@cpan.org> >> Based on the idea of C<base.pm>, which was introduced with Perl 5.004_04. =head1 LICENSE This module is released under the same terms as Perl itself. =cut
SILENT KILLER Tool