From 15ecbfdd629f1775141d55e554479498ba8f35cb Mon Sep 17 00:00:00 2001 From: Mike O'Regan Date: Tue, 23 Dec 2014 21:47:15 -0600 Subject: [PATCH] note that PPI::Document->new can also throw exceptions --- lib/PPI/Document.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PPI/Document.pm b/lib/PPI/Document.pm index 19032694..426b3695 100644 --- a/lib/PPI/Document.pm +++ b/lib/PPI/Document.pm @@ -142,6 +142,7 @@ optimisation flag, it is off by default and you will need to explicitly enable it. Returns a C object, or C if parsing fails. +L objects can also be thrown if there are parsing problems. =cut