text entry
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3740
Edit by Text Editors 0.1
Edit by Text Editors allows you to open a file with Kate, Kwrite, Kedit, Khexedit by a KDE service menu. more>>
Edit by Text Editors allows you to open a file with Kate, Kwrite, Kedit, Khexedit by a KDE service menu.
To install the service menu you must copy editby.desktop in ~/.kde/share/apps/konqueror/servicemenus
<<lessTo install the service menu you must copy editby.desktop in ~/.kde/share/apps/konqueror/servicemenus
Download (MB)
Added: 2007-08-06 License: GPL (GNU General Public License) Price:
814 downloads
Zen explorer desktop entry 0.01
Zen explorer desktop entry adds a service menu with the option to send a music file to your Creative zen jukebox. more>>
Zen explorer desktop entry adds a service menu with the option to send a music file to your Creative zen jukebox.
Ive only tested it with Zen V Plus 2 gig, but it uses libmtp to send the file. Not too exciting, i wrote it in less than a minute.
<<lessIve only tested it with Zen V Plus 2 gig, but it uses libmtp to send the file. Not too exciting, i wrote it in less than a minute.
Download (MB)
Added: 2007-01-02 License: GPL (GNU General Public License) Price:
1043 downloads
GD::Text 0.86
GD::Text is a Perl module with text utilities for use with GD. more>>
GD::Text is a Perl module with text utilities for use with GD.
SYNOPSIS
use GD;
use GD::Text;
my $gd_text = GD::Text->new() or die GD::Text::error();
$gd_text->set_font(funny.ttf, 12) or die $gd_text->error;
$gd_text->set_font(gdTinyFont);
$gd_text->set_font(GD::Font::Tiny);
...
$gd_text->set_text($string);
my ($w, $h) = $gd_text->get(width, height);
if ($gd_text->is_ttf)
{
...
}
Or alternatively
my $gd_text = GD::Text->new(
text => Some text,
font => funny.ttf,
ptsize => 14,
);
This module provides a font-independent way of dealing with text in GD, for use with the GD::Text::* modules and GD::Graph.
<<lessSYNOPSIS
use GD;
use GD::Text;
my $gd_text = GD::Text->new() or die GD::Text::error();
$gd_text->set_font(funny.ttf, 12) or die $gd_text->error;
$gd_text->set_font(gdTinyFont);
$gd_text->set_font(GD::Font::Tiny);
...
$gd_text->set_text($string);
my ($w, $h) = $gd_text->get(width, height);
if ($gd_text->is_ttf)
{
...
}
Or alternatively
my $gd_text = GD::Text->new(
text => Some text,
font => funny.ttf,
ptsize => 14,
);
This module provides a font-independent way of dealing with text in GD, for use with the GD::Text::* modules and GD::Graph.
Download (0.063MB)
Added: 2006-10-02 License: Perl Artistic License Price:
648 downloads
Text::Templar 2.43
Text::Templar is a document-generation object class. more>>
Text::Templar is a document-generation object class.
SYNOPSIS
use Text::Templar;
my $template = < title >This is the title: < % METHOD title % >< /title >< /head >
< body >
< % METHOD body % >
< address >
< % METHOD footer % >
< /address >
< /body >
< /html >
EOF
my $templateObject = new Text::Templar
[ $template ];
$templateObject->title( "The Rest of the Story" );
$templateObject->body( @content );
$templateObject->footer( "Page 1" );
print $templateObject->render;
<<lessSYNOPSIS
use Text::Templar;
my $template = < title >This is the title: < % METHOD title % >< /title >< /head >
< body >
< % METHOD body % >
< address >
< % METHOD footer % >
< /address >
< /body >
< /html >
EOF
my $templateObject = new Text::Templar
[ $template ];
$templateObject->title( "The Rest of the Story" );
$templateObject->body( @content );
$templateObject->footer( "Page 1" );
print $templateObject->render;
Download (0.072MB)
Added: 2007-01-05 License: Perl Artistic License Price:
1023 downloads
Text::CPP 0.12
Text::CPP is a full C Preprocessor in XS. more>>
Text::CPP is a full C Preprocessor in XS.
SYNOPSIS
use Text::CPP;
my $reader = new Text::CPP(
Language => CLK_GNUC99,
Options => {
...
},
Builtins => {
foo => this,
bar => that,
},
);
$reader->read("file.c");
while (my $token = $reader->token) {
print "Token: $tokenn";
}
$reader->data->{MyKey} = $MyData;
A fast C preprocessor in XS. This does not require an external C preprocessor, and will not fork() or exec() any external process.
USAGE
The following methods have been implemented, allowing the use of this module as a pure C preprocessor, or as a lexer for a C, C++ or Assembler-like language.
new Text::CPP(...)
Takes a hash or hashref with the following possible keys:
Language
Defines the source language to preprocess and/or tokenise. It may be any of:
CLK_GNUC89 - GNU C89
CLK_GNUC99 - GNU C99
CLK_STDC89 - Standard C89
CLK_STDC94 - Standard C94
CLK_STDC99 - Standard C99
CLK_GNUCXX - GNU C++
CLK_CXX98 - Standard C++ 98
CLK_ASM - Assembler
Options
A hashref of options for the preprocessor. Valid entries are given with alternative forms (from GNU cpp) in brackets.
Define (-D): array of strings or hash
Strings should be of the form NAME=VALUE.
Undef (-U): array of strings
DiscardComments (-C): boolean
DiscardCommentsInMacroExp (-CC): boolean
PrintIncludeNames (-H): boolean
NoLineCommands (-P): boolean
WarnComments (-Wcomment -Wcomments): boolean
WarnDeprecated (-Wdeprecated): boolean
WarningsAreErrors (-Werror): boolean
WarnImport (-Wimport): boolean
WarnMultichar (-Wmultichar): boolean
WarnSystemHeaders (-Wsystem-headers): boolean
Ignore errors in system header files.
WarnTraditional (-Wtraditional): boolean
WarnTrigraphs (-Wtrigraphs): boolean
WarnUnusedMacros (-Wunused-macros): boolean
Pedantic (-pedantic): boolean
PedanticErrors (-pedantic-errors): boolean
Implies, and overrides, Pedantic.
Remap (-remap): boolean
Deal with some brokennesses of MSDOS. Untested.
Trigraphs (-trigraphs): boolean
Traditional (-traditional): boolean
NoWarnings (-w): boolean
IncludePrefix (-iprefix): string
SystemRoot (-isysroot): string
Include (-include): array of strings
Include the specified files before reading the main file to be processed.
IncludeMacros (-imacros): array of strings
Include the specified files before reading the main file to be processed. Output from preprocessing these files is discarded. Files specified by IncludeMacros are processed before files specified by Include.
IncludePath (-I): array of strings
This include path is searched first.
SystemIncludePath (-isystem): array of strings
Specify the standard system include path, searched second.
AfterIncludePath (-idirafter): array of strings
This include path is searched after the system include path.
Builtins
A hashref of predefined macros. The values must be strings or integers. Macros in this hash will be defined before preprocessing starts. These correspond to true "builtin" macros. You should probably prefer to use the Define option.
$text = $reader->token
($text, $type, $flags) = $reader->token
Return the next available preprocessed token. Some tokens are not stringifiable. These include tokens of type CPP_MACRO_ARG, CPP_PADDING and CPP_EOF. Text::CPP returns a dummy string in the text field for these tokens. Tokens of type CPP_EOF should never actually be returned.
@tokens = $reader->tokens
Preprocess and return a list of tokens. This is approximately equivalent to:
push(@tokens, $_) while ($_ = $reader->token);
$reader->type($type)
Return a human readable name for a token type, as returned by $reader->token.
$reader->data
Returns a hashref in which user data may be stored by subclasses. This hashref is created with a new Text::CPP object, and is ignored for all functional purposes. The user may do with it as he wishes.
$reader->errors
In scalar context, returns the fatal error count. In list context, returns a list of warnings and errors encountered by the preprocessor. Thus scalar(@errors) >= $errors, since @errors will also contain the warnings.
<<lessSYNOPSIS
use Text::CPP;
my $reader = new Text::CPP(
Language => CLK_GNUC99,
Options => {
...
},
Builtins => {
foo => this,
bar => that,
},
);
$reader->read("file.c");
while (my $token = $reader->token) {
print "Token: $tokenn";
}
$reader->data->{MyKey} = $MyData;
A fast C preprocessor in XS. This does not require an external C preprocessor, and will not fork() or exec() any external process.
USAGE
The following methods have been implemented, allowing the use of this module as a pure C preprocessor, or as a lexer for a C, C++ or Assembler-like language.
new Text::CPP(...)
Takes a hash or hashref with the following possible keys:
Language
Defines the source language to preprocess and/or tokenise. It may be any of:
CLK_GNUC89 - GNU C89
CLK_GNUC99 - GNU C99
CLK_STDC89 - Standard C89
CLK_STDC94 - Standard C94
CLK_STDC99 - Standard C99
CLK_GNUCXX - GNU C++
CLK_CXX98 - Standard C++ 98
CLK_ASM - Assembler
Options
A hashref of options for the preprocessor. Valid entries are given with alternative forms (from GNU cpp) in brackets.
Define (-D): array of strings or hash
Strings should be of the form NAME=VALUE.
Undef (-U): array of strings
DiscardComments (-C): boolean
DiscardCommentsInMacroExp (-CC): boolean
PrintIncludeNames (-H): boolean
NoLineCommands (-P): boolean
WarnComments (-Wcomment -Wcomments): boolean
WarnDeprecated (-Wdeprecated): boolean
WarningsAreErrors (-Werror): boolean
WarnImport (-Wimport): boolean
WarnMultichar (-Wmultichar): boolean
WarnSystemHeaders (-Wsystem-headers): boolean
Ignore errors in system header files.
WarnTraditional (-Wtraditional): boolean
WarnTrigraphs (-Wtrigraphs): boolean
WarnUnusedMacros (-Wunused-macros): boolean
Pedantic (-pedantic): boolean
PedanticErrors (-pedantic-errors): boolean
Implies, and overrides, Pedantic.
Remap (-remap): boolean
Deal with some brokennesses of MSDOS. Untested.
Trigraphs (-trigraphs): boolean
Traditional (-traditional): boolean
NoWarnings (-w): boolean
IncludePrefix (-iprefix): string
SystemRoot (-isysroot): string
Include (-include): array of strings
Include the specified files before reading the main file to be processed.
IncludeMacros (-imacros): array of strings
Include the specified files before reading the main file to be processed. Output from preprocessing these files is discarded. Files specified by IncludeMacros are processed before files specified by Include.
IncludePath (-I): array of strings
This include path is searched first.
SystemIncludePath (-isystem): array of strings
Specify the standard system include path, searched second.
AfterIncludePath (-idirafter): array of strings
This include path is searched after the system include path.
Builtins
A hashref of predefined macros. The values must be strings or integers. Macros in this hash will be defined before preprocessing starts. These correspond to true "builtin" macros. You should probably prefer to use the Define option.
$text = $reader->token
($text, $type, $flags) = $reader->token
Return the next available preprocessed token. Some tokens are not stringifiable. These include tokens of type CPP_MACRO_ARG, CPP_PADDING and CPP_EOF. Text::CPP returns a dummy string in the text field for these tokens. Tokens of type CPP_EOF should never actually be returned.
@tokens = $reader->tokens
Preprocess and return a list of tokens. This is approximately equivalent to:
push(@tokens, $_) while ($_ = $reader->token);
$reader->type($type)
Return a human readable name for a token type, as returned by $reader->token.
$reader->data
Returns a hashref in which user data may be stored by subclasses. This hashref is created with a new Text::CPP object, and is ignored for all functional purposes. The user may do with it as he wishes.
$reader->errors
In scalar context, returns the fatal error count. In list context, returns a list of warnings and errors encountered by the preprocessor. Thus scalar(@errors) >= $errors, since @errors will also contain the warnings.
Download (0.17MB)
Added: 2007-05-29 License: Perl Artistic License Price:
878 downloads
Text::Emoticon 0.04
Text::Emoticon is a factory class for Yahoo! and MSN emoticons. more>>
Text::Emoticon is a factory class for Yahoo! and MSN emoticons.
SYNOPSIS
use Text::Emoticon;
my $emoticon = Text::Emoticon->new(MSN, { strict => 1, xhtml => 0 });
print $emoticon->filter(Hello ;));
Text::Emoticon is a factory class to dispatch MSN/YIM emoticon set. Its made to become handy to be used in other applications like Kwiki/MT plugins.
<<lessSYNOPSIS
use Text::Emoticon;
my $emoticon = Text::Emoticon->new(MSN, { strict => 1, xhtml => 0 });
print $emoticon->filter(Hello ;));
Text::Emoticon is a factory class to dispatch MSN/YIM emoticon set. Its made to become handy to be used in other applications like Kwiki/MT plugins.
Download (0.002MB)
Added: 2006-12-14 License: Perl Artistic License Price:
1050 downloads
Convert::yEnc::Entry 1.02
Convert::yEnc::Entry is a Perl module as an entry in a Convert::yEnc::RC database. more>>
Convert::yEnc::Entry is a Perl module as an entry in a Convert::yEnc::RC database.
SYNOPSIS
use Convert::yEnc::Entry;
$entry = new Convert::yEnc::Entry { size => 10000 };
$entry = new Convert::yEnc::Entry { size => 50000, part => 1 };
$entry = load Convert::yEnc::Entry "10000t10000";
$entry = load Convert::yEnc::Entry "20000t1-20000t1-2";
$ok = $entry->ybegin( { size=>10000 } );
$ok = $entry->ypart ( { begin=>1, end=>10000 } );
$ok = $entry->yend ( { size=>10000 } );
$entry->complete and ...
print "$entryn";
ABSTRACT
An entry in a Convert::yEnc::RC database
Convert::yEnc::Entry manages a single entry in a Convert::yEnc::RC database
<<lessSYNOPSIS
use Convert::yEnc::Entry;
$entry = new Convert::yEnc::Entry { size => 10000 };
$entry = new Convert::yEnc::Entry { size => 50000, part => 1 };
$entry = load Convert::yEnc::Entry "10000t10000";
$entry = load Convert::yEnc::Entry "20000t1-20000t1-2";
$ok = $entry->ybegin( { size=>10000 } );
$ok = $entry->ypart ( { begin=>1, end=>10000 } );
$ok = $entry->yend ( { size=>10000 } );
$entry->complete and ...
print "$entryn";
ABSTRACT
An entry in a Convert::yEnc::RC database
Convert::yEnc::Entry manages a single entry in a Convert::yEnc::RC database
Download (0.055MB)
Added: 2006-08-18 License: Perl Artistic License Price:
1163 downloads
Text Text Revolution 0.11
Text Text Revolution project is a text-based ncurses DDR clone. more>>
Text Text Revolution project is a text-based ncurses DDR clone.
Text Text Revolution is a text-based Dance Dance Revolution clone.
It supports pyDDRs .step file format (which has now been superceeded by the .dance format), and plans to stream OGG, MP3, or WAV files.
Enhancements:
- Joystick (DDR mat) support is working now. use the -j switch. Its currently hardcoded to use /dev/input/js0.
- Some graphics code was cleaned up, and it is now possible to specify the difficulty (--light, --standard, --hard, or -ln, where n is 1, 2, or 3).
<<lessText Text Revolution is a text-based Dance Dance Revolution clone.
It supports pyDDRs .step file format (which has now been superceeded by the .dance format), and plans to stream OGG, MP3, or WAV files.
Enhancements:
- Joystick (DDR mat) support is working now. use the -j switch. Its currently hardcoded to use /dev/input/js0.
- Some graphics code was cleaned up, and it is now possible to specify the difficulty (--light, --standard, --hard, or -ln, where n is 1, 2, or 3).
Download (0.044MB)
Added: 2006-12-08 License: GPL (GNU General Public License) Price:
1054 downloads
Text::Yats 0.03
Text::Yats is Yet Another Template System. more>>
Text::Yats is Yet Another Template System.
SYNOPSIS
use Text::Yats;
my $template = < < ENDHTML;
< html >
< head >
< title >$title - $version< /title >
< /head >
< body >
< form >
< select name="names" >< !--{1}-- >
< option $selected >$list< /option >
< !--{2}-- >< /select >
< /form >
< /body >
< /html >
ENDHTML
my $result = "";
my $tpl = Text::Yats- >new(
level = > 1,
text = > $template);
$result .= $tpl- >section- >[0]- >replace(
title = > "Yats",
version = > "Development", );
$result .= $tpl- >section- >[1]- >replace(
list = > [hdias,anita,cubitos],
selected = > { value = > "selected",
array = > "list",
match = > "anita", } );
$result .= $tpl- >section- >[2]- >text;
print $result;
<<lessSYNOPSIS
use Text::Yats;
my $template = < < ENDHTML;
< html >
< head >
< title >$title - $version< /title >
< /head >
< body >
< form >
< select name="names" >< !--{1}-- >
< option $selected >$list< /option >
< !--{2}-- >< /select >
< /form >
< /body >
< /html >
ENDHTML
my $result = "";
my $tpl = Text::Yats- >new(
level = > 1,
text = > $template);
$result .= $tpl- >section- >[0]- >replace(
title = > "Yats",
version = > "Development", );
$result .= $tpl- >section- >[1]- >replace(
list = > [hdias,anita,cubitos],
selected = > { value = > "selected",
array = > "list",
match = > "anita", } );
$result .= $tpl- >section- >[2]- >text;
print $result;
Download (0.005MB)
Added: 2007-08-10 License: Perl Artistic License Price:
805 downloads
Text::Quote 0.3
Text::Quote contains quotes strings as required for perl to eval them back correctly. more>>
Text::Quote contains quotes strings as required for perl to eval them back correctly.
SYNOPSIS
use Text::Quote;
my @quotes=map{$quoter->quote($_,indent=>6,col_width=>60)}(
"The time has come"
the walrus said,
"to speak of many things..."
," 123456abtn13fr16172021222324252627303132e34353637",
("6abtn13fr32e34" x 5),2/3,10,00);
for my $i (1..@quotes) {
print "$var$i=".$quotes[$i-1].";n";
}
Would produce:
$var1=qq"The time has come"ntthetwalrus said,nt"to speak of man.
qqy things...";
$var2=" 123456abtn13fr16172021222324252627".
"303132e34353637";
$var3=("6abtn13fr32e34" x 5);
$var4=0.666666666666667;
$var5=10;
$var6=00;
<<lessSYNOPSIS
use Text::Quote;
my @quotes=map{$quoter->quote($_,indent=>6,col_width=>60)}(
"The time has come"
the walrus said,
"to speak of many things..."
," 123456abtn13fr16172021222324252627303132e34353637",
("6abtn13fr32e34" x 5),2/3,10,00);
for my $i (1..@quotes) {
print "$var$i=".$quotes[$i-1].";n";
}
Would produce:
$var1=qq"The time has come"ntthetwalrus said,nt"to speak of man.
qqy things...";
$var2=" 123456abtn13fr16172021222324252627".
"303132e34353637";
$var3=("6abtn13fr32e34" x 5);
$var4=0.666666666666667;
$var5=10;
$var6=00;
Download (0.012MB)
Added: 2007-08-06 License: Perl Artistic License Price:
810 downloads
Tk::Text::Viewer 0.93
Tk::Text::Viewer is a text widget that can display text files under TK. more>>
Tk::Text::Viewer is a text widget that can display text files under TK. It enable the user to search text and navigate in a Text widget. The reason for creating this module is that it doesnt require downloading of modules other that Tk; Look for widget options in the Tk::Text manpage. A separate viewer.pl program is included and can be used as a stand alone file browser.
The Viewer widget also inherits all the methods provided by the generic Tk::Widget and Tk::Text classes.
The following additional method is available for viewer widgets:
$text_view->Load($filename)
Load file into the text widget.
$text_view->LabelConfig(string or hash ref)
$text_view->LabelConfig(``Search:)
Change label for the search entry field. You might want to change this label if the widget is used in a non English application.
$text_view->LabelConfig(``-cursor=> dot)
Change one label widget option (for example cursor).
$text_view->LabelConfig({text=>Find:,-cursor=>dot,...})
Replace label widget options with your own set of options. Do not change the Name option of the label widget. See the Tk::Label manpage for valid options
$text_view->EntryConfig(string or hash ref)
Change the entry widget options. Read LabelConfig for information about parameters. See the Tk::Entry manpage for valid options.
Enhancements:
- This version requiers Tk 804. If you have older Tk you my use version 0.91
- fix Tk::Entry options like -text to comply with Tk 804.027
- Enable utf8 support for UTF-8 locale on Perl 5.8
<<lessThe Viewer widget also inherits all the methods provided by the generic Tk::Widget and Tk::Text classes.
The following additional method is available for viewer widgets:
$text_view->Load($filename)
Load file into the text widget.
$text_view->LabelConfig(string or hash ref)
$text_view->LabelConfig(``Search:)
Change label for the search entry field. You might want to change this label if the widget is used in a non English application.
$text_view->LabelConfig(``-cursor=> dot)
Change one label widget option (for example cursor).
$text_view->LabelConfig({text=>Find:,-cursor=>dot,...})
Replace label widget options with your own set of options. Do not change the Name option of the label widget. See the Tk::Label manpage for valid options
$text_view->EntryConfig(string or hash ref)
Change the entry widget options. Read LabelConfig for information about parameters. See the Tk::Entry manpage for valid options.
Enhancements:
- This version requiers Tk 804. If you have older Tk you my use version 0.91
- fix Tk::Entry options like -text to comply with Tk 804.027
- Enable utf8 support for UTF-8 locale on Perl 5.8
Download (0.010MB)
Added: 2006-07-15 License: Artistic License Price:
1201 downloads
Text::Emoticon::Yahoo 0.02
Text::Emoticon::Yahoo is a emoticon filter of Yahoo! Messenger. more>>
Text::Emoticon::Yahoo is a emoticon filter of Yahoo! Messenger.
SYNOPSIS
use Text::Emoticon::Yahoo;
my $emoticon = Text::Emoticon::Yahoo->new(
imgbase => "http://example.com/emo",
);
my $text = "Yet Another Perl Hacker ;)";
print $emoticon->filter($text);
# it prints
# Yet Another Perl Hacker
Text::Emoticon::Yahoo is a text filter that replaces text emoticons like ":)", ";P", etc. to the icons of Yahoo! Messenger, detailed in http://messenger.yahoo.com/emoticons.php
<<lessSYNOPSIS
use Text::Emoticon::Yahoo;
my $emoticon = Text::Emoticon::Yahoo->new(
imgbase => "http://example.com/emo",
);
my $text = "Yet Another Perl Hacker ;)";
print $emoticon->filter($text);
# it prints
# Yet Another Perl Hacker
Text::Emoticon::Yahoo is a text filter that replaces text emoticons like ":)", ";P", etc. to the icons of Yahoo! Messenger, detailed in http://messenger.yahoo.com/emoticons.php
Download (0.003MB)
Added: 2006-12-06 License: Perl Artistic License Price:
1069 downloads
Text::Graph 0.23
Text::Graph is a Perl extension for generating text-based graphs. more>>
Text::Graph is a Perl extension for generating text-based graphs.
SYNOPSIS
use Text::Graph;
blah blah blah
Some data is easier to analyze graphically than in its raw form. In many cases, however, a full-blown multicolor graphic representation is overkill. In these cases, a simple graph can provide an appropriate graphical representation.
The Text::Graph module provides a simple text-based graph of a dataset. Although this approach is not appropriate for all data analysis, it can be useful in some cases.
<<lessSYNOPSIS
use Text::Graph;
blah blah blah
Some data is easier to analyze graphically than in its raw form. In many cases, however, a full-blown multicolor graphic representation is overkill. In these cases, a simple graph can provide an appropriate graphical representation.
The Text::Graph module provides a simple text-based graph of a dataset. Although this approach is not appropriate for all data analysis, it can be useful in some cases.
Download (0.009MB)
Added: 2006-08-28 License: Perl Artistic License Price:
1153 downloads
Text::MetaMarkup::HTML 0.01
Text::MetaMarkup::HTML is a MM-to-HTML converter. more>>
Text::MetaMarkup::HTML is a MM-to-HTML converter.
SYNOPSIS
use Text::MetaMarkup::HTML;
print Text::MetaMarkup::HTML->new->parse(file => $filename);
This module extends Text::MetaMarkup and converts the parsed document to HTML.
Text::MetaMarkup::HTML adds special support for the following tags:
Paragraph tag style
Its contents are not subject to escaping and inline tag interpolation.
EXAMPLE
Input
h1: Example
This is just {i:an {b:example}}.
* foo
* bar
* baz
Output
< h1 >Example< /h1 >
< p >This is just < i >an < b >example< /b >< /i >.
< ol >< li >foo< /i >
< li >bar< /li >
< li >baz< /li >< /ol >
<<lessSYNOPSIS
use Text::MetaMarkup::HTML;
print Text::MetaMarkup::HTML->new->parse(file => $filename);
This module extends Text::MetaMarkup and converts the parsed document to HTML.
Text::MetaMarkup::HTML adds special support for the following tags:
Paragraph tag style
Its contents are not subject to escaping and inline tag interpolation.
EXAMPLE
Input
h1: Example
This is just {i:an {b:example}}.
* foo
* bar
* baz
Output
< h1 >Example< /h1 >
< p >This is just < i >an < b >example< /b >< /i >.
< ol >< li >foo< /i >
< li >bar< /li >
< li >baz< /li >< /ol >
Download (0.006MB)
Added: 2007-08-22 License: Perl Artistic License Price:
494 downloads
Text::Convert::ToImage
Text::Convert::ToImage is a Perl module. more>>
Text::Convert::ToImage is a Perl module.
SYNOPSIS
use Text::Convert::ToImage;
my $tti = Text::Convert::ToImage->new();
my $length = length($email);
if ($length > 150) {
$email = "Your text length of $length is too large:";
}
my $config = {
TEXT => $email ? $email : "y@hn.org",
POINTSIZE => $point_size ? $point_size : 14,
LEVEL => $level ? $level : 0,
FONT => $font,
XSKEW => $xskew,
YSKEW => $yskew,
};
$tti->calculate($config);
print "Content-type: image/pngnn";
binmode STDOUT;
$tti->Write(png:-);
This was knocked up a long time ago and someone asked me if the source was available so I decided to put it on CPAN. There is very little documentation with it.
There are also very few tests. If more than me and the person who asked for the module use it then I will write some tests for it.
At the moment I have been using it top obfuscate emails and not much else. A demo can be found at http://www.hjackson.org/cgi-bin/tools/email.pl
There are some undocumented features to this module and they are this way because I have not tested to see if they work yet.
<<lessSYNOPSIS
use Text::Convert::ToImage;
my $tti = Text::Convert::ToImage->new();
my $length = length($email);
if ($length > 150) {
$email = "Your text length of $length is too large:";
}
my $config = {
TEXT => $email ? $email : "y@hn.org",
POINTSIZE => $point_size ? $point_size : 14,
LEVEL => $level ? $level : 0,
FONT => $font,
XSKEW => $xskew,
YSKEW => $yskew,
};
$tti->calculate($config);
print "Content-type: image/pngnn";
binmode STDOUT;
$tti->Write(png:-);
This was knocked up a long time ago and someone asked me if the source was available so I decided to put it on CPAN. There is very little documentation with it.
There are also very few tests. If more than me and the person who asked for the module use it then I will write some tests for it.
At the moment I have been using it top obfuscate emails and not much else. A demo can be found at http://www.hjackson.org/cgi-bin/tools/email.pl
There are some undocumented features to this module and they are this way because I have not tested to see if they work yet.
Download (0.011MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1158 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above text entry search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed