From 31cd761626e159dc5c5d475dd2cb606d81b9de4a Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Thu, 27 Dec 2007 09:34:44 +0100 Subject: [PATCH] The debug flag is passed to Artemus::new(). --- artemus | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/artemus b/artemus index 9091448..c5b5ce3 100755 --- a/artemus +++ b/artemus @@ -130,13 +130,14 @@ $data = join("",); close F; # create the Artemus handle -$ah = new Artemus("paragraph-separator" => $para_sep, - "vars" => \%vars, - "inv-vars" => \%inv_vars, - "funcs" => \%funcs, - "include-path" => $include_path, - "use-cr-lf" => $use_cr_lf, - "unresolved" => \@unresolved +$ah = Artemus->new('paragraph-separator' => $para_sep, + 'vars' => \%vars, + 'inv-vars' => \%inv_vars, + 'funcs' => \%funcs, + 'include-path' => $include_path, + 'use-cr-lf' => $use_cr_lf, + 'unresolved' => \@unresolved, + 'debug' => $debug ); # do it -- 2.11.4.GIT