Data::Edit - Perl wrapper around your text editor
use Data::Edit; my $structure = { ... }; Data::Edit::edit_structure($structure, "my structure");
The module is a wrapper around a YAML parser and your text editor, for the purpose of editing a data structure in memory. Special magic is added for vim users to allow them to see the changes they are making in vimdiff.
vimdiff
May be exported
VISUAL and EDITOR are looked at to determine the text editor to use. If these aren't defined, it checks for a symlink at /usr/bin/editor.
VISUAL
EDITOR
YAML
Dave Lambley, <davel@state51.co.uk>
Copyright (C) 2011 by Dave Lambley
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.
To install Data::Edit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Edit
CPAN shell
perl -MCPAN -e shell install Data::Edit
For more information on module installation, please visit the detailed CPAN module installation guide.