NAME

File::Dir::Dumper::Scanner - scans a directory and returns a stream of Perl hash-refs

VERSION

Version 0.0.7

SYNOPSIS

use File::Dir::Dumper::Scanner;

my $scanner = File::Dir::Dumper::Scanner->new(
    {
        dir => $dir_pathname
    }
);

while (defined(my $token = $scanner->fetch()))
{
}

METHODS

$self->new({ dir => $dir_path})

Scans the directory $dir_path.

my $hash_ref = $self->fetch()

Outputs the next token as a hash ref.

AUTHOR

Shlomi Fish, <shlomif@cpan.org>

BUGS

Please report any bugs or feature requests to bug-file-dir-dumper at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Dir-Dumper. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc File::Dir::Dumper

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT/X11 Licence.