summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2019-08-27 12:31:26 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2019-08-27 12:32:28 (GMT)
commit915b6221ebbab067493e2f7bb73978f400209f09 (patch) (side-by-side diff)
tree9dbc108670c20eaac08709106a7fec2e153645a1
parent745a02db1c53ed90e89bb9c6f57db450d2011106 (diff)
downloadconfig-ast-915b6221ebbab067493e2f7bb73978f400209f09.tar.gz
config-ast-915b6221ebbab067493e2f7bb73978f400209f09.tar.bz2
Declare DESTROY in Null (follow-up to 058e552b)
* lib/Config/AST/Node/Null.pm (DESTROY): Add method.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/Config/AST/Node/Null.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Config/AST/Node/Null.pm b/lib/Config/AST/Node/Null.pm
index dd823a7..699d49f 100644
--- a/lib/Config/AST/Node/Null.pm
+++ b/lib/Config/AST/Node/Null.pm
@@ -53,6 +53,8 @@ sub AUTOLOAD {
confess "Can't locate method $AUTOLOAD";
}
+sub DESTROY { }
+
=head2 $node->as_string
Returns the string "(null)".

Return to:

Send suggestions and report system problems to the System administrator.