Rechercher une page de manuel
App::KGB::Change.3pm
Langue: en
Version: 2010-06-17 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
App::KGB::Change - a single file changeSYNOPSIS
my $c = App::KGB::Change->new( { action => "M", prop_change => 1, path => "/there" } ); print $c; my $c = App::KGB::Change->new("(M+)/there");
DESCRIPTION
App::KGB::Change encapsulates a sing epath change from a given change set (or commit).App::KGB::Change overloads the "" operator in order to provide a default string representation of changes.
FIELDS
- action (mandatory)
- The action performed on the item. Possible values are:
-
- M
- The path was modified.
- A
- The path was added.
- D
- The path was deleted.
- R
- The path was replaced.
-
- path (mandatory)
- The path that was changed.
- prop_change
- Boolean. Indicated that some properties of the path, not the content were changed.
CONSTRUCTOR
new ( { initial values } )
More-or-less standard constructor.It can take a hashref with keys all the field names (See ).
Or, it can take a single string, which is de-composed into components.
See for examples.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre