Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / lib / perl / 5.18.2 / PerlIO / | server ip : 172.67.156.115 your ip : 172.70.100.64 H O M E |
Filename | /usr/lib/perl/5.18.2/PerlIO/mmap.pm |
Size | 600 |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 10:10 |
Last modified | 21-Nov-2018 01:28 |
Last accessed | 06-Jul-2025 20:28 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
package PerlIO::mmap;
use strict;
use warnings;
our $VERSION = '0.011';
use XSLoader;
XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION);
1;
__END__
=head1 NAME
PerlIO::mmap - Memory mapped IO
=head1 SYNOPSIS
open my $fh, '<:mmap', $filename;
=head1 DESCRIPTION
This layer does C<read> and C<write> operations by mmap()ing the file if possible, but falls back to the default behavior if not.
=head1 IMPLEMENTATION NOTE
C<PerlIO::mmap> only exists to use XSLoader to load C code that provides support for using memory mapped IO. One does not need to explicitly C<use PerlIO::mmap;>.
=cut
use strict;
use warnings;
our $VERSION = '0.011';
use XSLoader;
XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION);
1;
__END__
=head1 NAME
PerlIO::mmap - Memory mapped IO
=head1 SYNOPSIS
open my $fh, '<:mmap', $filename;
=head1 DESCRIPTION
This layer does C<read> and C<write> operations by mmap()ing the file if possible, but falls back to the default behavior if not.
=head1 IMPLEMENTATION NOTE
C<PerlIO::mmap> only exists to use XSLoader to load C code that provides support for using memory mapped IO. One does not need to explicitly C<use PerlIO::mmap;>.
=cut