Added new tests, fixed a bug, and cleaned up more code: Intermediate check-in
[p5sagit/Excel-Template.git] / lib / Excel / Template / TextObject.pm
index 607eaff..38e3c6c 100755 (executable)
@@ -21,7 +21,7 @@ sub new
 
     $self->{STACK} = []
         unless defined $self->{STACK} &&
-            UNIVERSAL::isa($self->{STACK}, 'ARRAY');
+            ref $self->{STACK} eq 'ARRAY';
 
     return $self;
 }