package Logos::Generator::Base::Generator; use strict; sub findPreamble { my $self = shift; my $aref = shift; my @matches = grep(/\s*#\s*(import|include)\s*[<"]logos\/logos\.h[">]/, @$aref); return @matches > 0; } sub preamble { return <