SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Acme-Include-Data rpm build for : OpenSuSE. For other distributions click perl-Acme-Include-Data.

Name : perl-Acme-Include-Data
Version : 0.05 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 17:11:16
Group : Development/Libraries/Perl Source RPM : perl-Acme-Include-Data-0.05-lp155.1.1.src.rpm
Size : 0.01 MB
Packager : https://www_suse_com/
Summary : How to Include Data Files with a Cpan Module
Description :
This is a demonstration module which demonstrates how to include a data
file with a Perl module and how to read it in at run time.

If you are a CPAN author or use the CPAN-style tools to distribute your
data, you may have wondered how to include data with your Perl
distribution.

Any file under lib in the distribution is bundled into the distribution by
_Makefile.PL_. So if your distribution is called _Acme::Include::Data_,
then a file called _lib/Acme/Include/this-is-a-data-file.txt_ is
automatically included into the distribution.

To read the data file in, simply use __FILE__:

my $data = __FILE__;



$data =~ s/Data\\.pm$/this-is-a-data-file.txt/;



open my $in, \"< \", $data or die $!;
my $text = \'\';
while (< $in>) {
$text .= $_;
}

(This example is included as at
https://api.metacpan.org/source/BKB/Acme-Include-Data-0.05/examples/read-da
ta.pl in the distribution.)

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Acme-Include-Data-0.05-lp155.1.1.noarch.rpm
     

Provides :
perl(Acme::Include::Data)
perl-Acme-Include-Data

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Acme
/usr/lib/perl5/vendor_perl/5.26.1/Acme/Include
/usr/lib/perl5/vendor_perl/5.26.1/Acme/Include/Data.pm
/usr/lib/perl5/vendor_perl/5.26.1/Acme/Include/Data.pod
/usr/lib/perl5/vendor_perl/5.26.1/Acme/Include/this-is-a-data-file.txt
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Acme-Include-Data
/usr/share/doc/packages/perl-Acme-Include-Data/Changes
/usr/share/doc/packages/perl-Acme-Include-Data/README
/usr/share/doc/packages/perl-Acme-Include-Data/examples
/usr/share/doc/packages/perl-Acme-Include-Data/examples/read-data.pl
/usr/share/man/man3/Acme::Include::Data.3pm.gz

 
ICM