| Embperl documentation | Contained in the Embperl distribution. |
Text syntax module for Embperl
Execute ({inputfile => 'sometext.htm', syntax => 'Text'}) ;
This syntax does simply literal pass the text thru. That's usefull if you want to include text, without any interpretation. (e.g. with EmbperlObject)
Gerald Richter <richter@dev.ecos.de>
Embperl::Syntax
| Embperl documentation | Contained in the Embperl distribution. |
################################################################################### # # Embperl - Copyright (c) 1997-2010 Gerald Richter / ECOS # # You may distribute under the terms of either the GNU General Public # License or the Artistic License, as specified in the Perl README file. # # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. # # $Id: Text.pm 294756 2005-08-07 00:03:03Z richter $ # ################################################################################### package Embperl::Syntax::Text ; use Embperl::Syntax qw{:types} ; use Embperl::Syntax ; use strict ; use vars qw{@ISA} ; @ISA = qw(Embperl::Syntax) ; ################################################################################### # # Methods # ################################################################################### # --------------------------------------------------------------------------------- # # Create new Syntax Object # # --------------------------------------------------------------------------------- sub new { my $class = shift ; my $self = Embperl::Syntax::new ($class) ; return $self ; } 1; __END__