NAME
Data::Edit - Perl wrapper around your text editor
SYNOPSIS
use Data::Edit;
my $structure = { ... };
Data::Edit::edit_structure($structure, "my structure");
DESCRIPTION
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
.
EXPORT
- edit_structure
-
May be exported
ENVIRONMENT
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.
SEE ALSO
AUTHOR
Dave Lambley, <davel@state51.co.uk>
COPYRIGHT AND LICENSE
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.