| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-SelfLoader | Distribution: Mageia |
| Version: 1.240.0 | Vendor: Mageia.Org |
| Release: 5.mga8 | Build date: Wed Feb 12 14:49:15 2020 |
| Group: Development/Perl | Build host: localhost |
| Size: 37905 | Source RPM: perl-SelfLoader-1.240.0-5.mga8.src.rpm |
| Packager: umeabot <umeabot> | |
| Url: http://search.cpan.org/dist/SelfLoader | |
| Summary: Automatic function loader (using __DATA__) | |
This module tells its users that functions in the FOOBAR package are to be
autoloaded from after the '__DATA__' token. See also the
perlsub/"Autoloading" manpage.
The __DATA__ token
The '__DATA__' token tells the perl compiler that the perl code for
compilation is finished. Everything after the '__DATA__' token is
available for reading via the filehandle FOOBAR::DATA, where FOOBAR is
the name of the current package when the '__DATA__' token is reached.
This works just the same as '__END__' does in package 'main', but for
other modules data after '__END__' is not automatically retrievable,
whereas data after '__DATA__' is. The '__DATA__' token is not
recognized in versions of perl prior to 5.001m.
Note that it is possible to have '__DATA__' tokens in the same package
in multiple files, and that the last '__DATA__' token in a given
package that is encountered by the compiler is the one accessible by
the filehandle. This also applies to '__END__' and main, i.e. if the
'main' program has an '__END__', but a module 'require'd (_not_ 'use'd)
by that program has a 'package main;' declaration followed by an
''__DATA__'', then the 'DATA' filehandle is set to access the data
after the '__DATA__' in the module, _not_ the data after the '__END__'
token in the 'main' program, since the compiler encounters the
'require'd file later.
GPL+ or Artistic
* Wed Feb 12 2020 umeabot <umeabot> 1.240.0-5.mga8 + Revision: 1506177 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %makeinstall_std * Thu Sep 20 2018 umeabot <umeabot> 1.240.0-4.mga7 + Revision: 1285987 - Mageia 7 Mass Rebuild
/usr/share/doc/perl-SelfLoader /usr/share/doc/perl-SelfLoader/Changes /usr/share/doc/perl-SelfLoader/META.json /usr/share/doc/perl-SelfLoader/META.yml /usr/share/doc/perl-SelfLoader/MYMETA.yml /usr/share/doc/perl-SelfLoader/README /usr/share/man/man3/SelfLoader.3pm.xz /usr/share/perl5/vendor_perl/SelfLoader.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Aug 9 12:24:13 2025