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


NAME

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

Back to Top


VERSION

Version 0.0.6

Back to Top


SYNOPSIS

    use File::Dir::Dumper::Scanner;
    my $scanner = File::Dir::Dumper::Scanner->new(
        {
            dir => $dir_pathname
        }
    );
    while (defined(my $token = $scanner->fetch()))
    {
    }

Back to Top


METHODS

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

Scans the directory $dir_path.

my $hash_ref = $self->fetch()

Outputs the next token as a hash ref.

Back to Top


AUTHOR

Shlomi Fish, <shlomif@cpan.org>

Back to Top


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. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Back to Top


SUPPORT

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

    perldoc File::Dir::Dumper

You can also look for information at:

Back to Top


ACKNOWLEDGEMENTS

Back to Top


COPYRIGHT & LICENSE

Copyright 2008 Shlomi Fish, all rights reserved.

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

Back to Top

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