X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FExcel%2FTemplate%2FContext.pm;h=1f3fcf9e3a205df4152d20e864af0cad7a536daf;hb=e976988f30574c0c21cfa29fc5d080827e003fb6;hp=d7218af342922210c5142fdc38f816896d82abfa;hpb=a084e413f6358c99b0a5334ce1438ebdb3c8c46c;p=p5sagit%2FExcel-Template.git diff --git a/lib/Excel/Template/Context.pm b/lib/Excel/Template/Context.pm index d7218af..1f3fcf9 100644 --- a/lib/Excel/Template/Context.pm +++ b/lib/Excel/Template/Context.pm @@ -29,7 +29,8 @@ sub new $self->{ACTIVE_FORMAT} = Excel::Template::Format->blank_format($self); $self->{WORKSHEET_NAMES} = undef; - for (qw( STACK PARAM_MAP NAME_MAP )) + # Removed NAME_MAP until I figure out what the heck it's for + for (qw( STACK PARAM_MAP )) { next if defined $self->{$_} && UNIVERSAL::isa($self->{$_}, 'ARRAY'); $self->{$_} = []; @@ -75,14 +76,14 @@ sub param ); } -sub named_param -{ - my $self = shift; - $self->_find_param_in_map( - 'NAME_MAP', - @_, - ); -} +#sub named_param +#{ +# my $self = shift; +# $self->_find_param_in_map( +# 'NAME_MAP', +# @_, +# ); +#} sub resolve {