Data::WalkerData::Walker is a tool for navigating through Perl data structures. | |
Download |
Data::Walker Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- John Nolan
- Publisher web site:
- http://search.cpan.org/~jnolan/backup-reporter-1.03/backup-reporter
Data::Walker Tags
Data::Walker Description
Data::Walker is a tool for navigating through Perl data structures. Data::Walker is a tool for navigating through Perl data structures.SYNOPSISWithout any explicit objects: use Data::Walker; Data::Walker->cli( $data_structure );Object-style invocation: use Data::Walker; my $w = new Data::Walker; $w->walk( $data_structure ); $w->ls("-al"); $w->pwd; $w->cli;Importing methods into the current package: use Data::Walker qw(:direct); walk $data_structure; ls "-al"; pwd; cli;This module allows you to "walk" an arbitrary Perl data structure in the same way that you can walk a directory tree from a UNIX command line. It reuses familiar unix commands (such as "ls", "cd", "pwd") and applies these to data structures.It has a command-line interface which behaves like a UNIX shell. You can also use object-style sytax to invoke the CLI commands from outside the CLI. Data::Walker objects are encapsulated, so that you can hop into and out of a CLI without losing state, and you can have several Data::Walker objects pointing at different structures.The main functions can also be imported and used directly from within the Perl debugger's CLI. Requirements: · Perl
Data::Walker Related Software