package PerlIO::dir; use strict; require PerlIO::Util; 1; __END__ =encoding utf-8 =head1 NAME PerlIO::dir - Reads directories =head1 SYNOPSIS open my $dirh, '<:dir', '.'; binmode $dirh, ':encoding(cp932)'; # OK my @dirs = <$dirh>; # added "\n" at the end of the name chomp @dirs; # if necessary =head1 DESCRIPTION C provides an interface to directory reading functions, C, C, C and C. However, there is an important difference between C<:dir> and Perl's C. This layer B, C<\n>, to the end of the name, because C requires input separators. Call C if necessary. You can use C for C. =head1 SEE ALSO L, L, L, L. L. =head1 AUTHOR Goro Fuji (藤 吾郎) Egfuji (at) cpan.orgE =head1 LICENSE AND COPYRIGHT Copyright (c) 2008, Goro Fuji Egfuji (at) cpan.orgE. Some rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut