diff options
| author | fukachan <fukachan> | 2001-03-10 12:31:51 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-03-10 12:31:51 +0000 |
| commit | 1918c682eb6d05364f4f625f9af67df6dc18df78 (patch) | |
| tree | 1dd7fccf2f57231f6206074ffa794d6a2d25f2aa /fml/lib/FML/Header | |
| parent | 4f6d0b1b58068fb96c16565a77ef5dc1f51fcf1d (diff) | |
| download | fml8-1918c682eb6d05364f4f625f9af67df6dc18df78.tar.gz fml8-1918c682eb6d05364f4f625f9af67df6dc18df78.tar.bz2 fml8-1918c682eb6d05364f4f625f9af67df6dc18df78.zip | |
nuke execute_ticket_system() which is not used
define regexp_compile() method which wraps _regexp_compile() for
modules outside FML::Header::Subject.
Diffstat (limited to 'fml/lib/FML/Header')
| -rw-r--r-- | fml/lib/FML/Header/Subject.pm | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/fml/lib/FML/Header/Subject.pm b/fml/lib/FML/Header/Subject.pm index 7677f17b..35054dd8 100644 --- a/fml/lib/FML/Header/Subject.pm +++ b/fml/lib/FML/Header/Subject.pm @@ -14,8 +14,26 @@ use vars qw(@ISA @EXPORT @EXPORT_OK); use Carp; use FML::Log qw(Log); -require Exporter; -@ISA = qw(Exporter); +=head1 NAME + +FML::Header::Subject - manipule the header subject + +=head1 SYNOPSIS + + use FML::Header::Subject; + FML::Header::Subject->rewrite_subject_tag($header, $config, $args); + +=head1 DESCRIPTION + +a collection of functions to manipulate the header subject. + +=head1 METHODS + +=head2 C<new()> + +the usual constructor. + +=cut sub new @@ -86,6 +104,13 @@ sub _regexp_compile } +sub regexp_compile +{ + my ($self, $string) = @_; + _regexp_compile($string); +} + + sub is_reply { my ($self, $subject) = @_; @@ -118,33 +143,10 @@ sub _cut_off_reply } -sub execute_ticket_system -{ - my ($self, $header, $config, $args) = @_; - my $model = $config->{ ticket_model }; - my $pkg = "Ticket::Model::".$model; - eval qq {require $pkg; $pkg->import();}; - - $pkg->increment_id( $config->{ ticket_sequence_file }); -} - - -=head1 NAME - -FML::Header::Subject.pm - what is this - - -=head1 SYNOPSIS - -=head1 DESCRIPTION - -=head2 new - -=item Function() - - =head1 AUTHOR +Ken'ichi Fukamachi + =head1 COPYRIGHT Copyright (C) 2001 Ken'ichi Fukamachi |
