Data::Zipper - Easily traverse and transform immutable data
package Person; use Moose; has name => ( is => 'ro' ); package MyApp; use Data::Zipper 'zipper'; my $person = Person->new( name => 'John' ) my $sally = zipper($person) ->traverse('name')->set('Sally') ->up ->focus;
Create a zipper of the correct type, depending on the data given
Oliver Charles
This software is copyright (c) 2011 by Oliver Charles <oliver.g.charles@googlemail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Zipper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Zipper
CPAN shell
perl -MCPAN -e shell install Data::Zipper
For more information on module installation, please visit the detailed CPAN module installation guide.