File::Find::Node

Object oriented directory tree traverser
Download

File::Find::Node Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stephen C. Losen
  • Publisher web site:
  • http://search.cpan.org/~scl/

File::Find::Node Tags


File::Find::Node Description

Object oriented directory tree traverser The constructor File::Find::Node->new creates a top level File::Find::Node object for the specified path. The $f->process method takes a reference to a callback function that is called for each item in the traversal. The $f->post_process method takes a reference to a callback function that is called for each directory after it has been traversed. The $f->find method performs the traversal.Callback functions are passed a File::Find::Node object for the item being visited. File::Find::Node provides many useful methods that return information about the item. Other methods allow access to the parent directory object and allow arbitrary data to be stored in objects.SYNOPSIS use File::Find::Node; my $f = File::Find::Node->new("path"); $f->process(sub { ... }); $f->post_process(sub { ... }); $f->find; Requirements: · Perl


File::Find::Node Related Software