The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Filesys::SmbClient::DirHandle - Interface for accessing samba filesystem with libsmbclient.so

SYNOPSIS

 use Filesys::SmbClient;

 my $smb = Filesys::SmbClient->new(username => "guest",
                                   share => "test",
                                   workgroup => "mygroup");

 my $dh = $smb->opendir("perl/t");

 while (my $name = $dh->read()) {
     ...
 }

 $dh->close();

DESCRIPTION

This class provides access to the libsmbclient.so API using IO::Dir methods. Since opening is done via the $smb handle itself, there is no open method.

Standard methods that are implemented are:

  • read

  • seek

  • tell

  • rewind

  • close

SEE ALSO

Consult the IO::Dir documention for the specifics of the class methods.

COPYRIGHT

The Filesys::SmbClient::DirHandle module is Copyright (C) 2010 Philip Prindeville, Redfish Solutions. philipp at cpan.org. All rights reserved.

You may distribute uder the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.