valid
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 462
Test::YAML::Valid 0.03
Test::YAML::Valid is a Perl module to test for valid YAML. more>>
Test::YAML::Valid is a Perl module is a test for valid YAML.
SYNOPSIS
This module lets you easily test the validity of YAML:
use Test::More tests => 3;
use Test::YAML::Valid;
yaml_string_ok(YAML::Dump({foo => bar}), YAML generates good YAML?);
yaml_string_ok(this is not YAML, is it?, This one will fail);
yaml_file_ok(/path/to/some/YAML, /path/to/some/YAML is YAML);
yaml_files_ok(/path/to/YAML/files/*, all YAML files are valid);
You can also test with YAML::Syck instead of YAML by passing -Syck in the import list:
use Test::YAML::Valid qw(-Syck);
yaml_string_ok(...); # uses YAML::Syck::Load instead of YAML::Load
Its up to you to make sure you have YAML::Syck if you specify the -Syck option, since its an optional prerequisite to this module. If its requested but not found, a warning will be issued and YAML will be used instead.
EXPORT
yaml_string_ok
yaml_file_ok
yaml_files_ok
FUNCTIONS
yaml_string_ok($yaml, [$message])
Test will pass if $yaml contains valid YAML (according to YAML.pm) and fail otherwise. Returns the result of loading the YAML.
yaml_file_ok($filename, [$message])
Test will pass if $filename is a valid YAML file (according to YAML.pm) and fail otherwise. Returns the result of loading the YAML.
yaml_files_ok($file_glob_string, [$message])
Test will pass if all files matching the glob $file_glob_string contain valid YAML. If a file is not valid, the test will fail and no further files will be examined.
Returns a list of all loaded YAML;
<<lessSYNOPSIS
This module lets you easily test the validity of YAML:
use Test::More tests => 3;
use Test::YAML::Valid;
yaml_string_ok(YAML::Dump({foo => bar}), YAML generates good YAML?);
yaml_string_ok(this is not YAML, is it?, This one will fail);
yaml_file_ok(/path/to/some/YAML, /path/to/some/YAML is YAML);
yaml_files_ok(/path/to/YAML/files/*, all YAML files are valid);
You can also test with YAML::Syck instead of YAML by passing -Syck in the import list:
use Test::YAML::Valid qw(-Syck);
yaml_string_ok(...); # uses YAML::Syck::Load instead of YAML::Load
Its up to you to make sure you have YAML::Syck if you specify the -Syck option, since its an optional prerequisite to this module. If its requested but not found, a warning will be issued and YAML will be used instead.
EXPORT
yaml_string_ok
yaml_file_ok
yaml_files_ok
FUNCTIONS
yaml_string_ok($yaml, [$message])
Test will pass if $yaml contains valid YAML (according to YAML.pm) and fail otherwise. Returns the result of loading the YAML.
yaml_file_ok($filename, [$message])
Test will pass if $filename is a valid YAML file (according to YAML.pm) and fail otherwise. Returns the result of loading the YAML.
yaml_files_ok($file_glob_string, [$message])
Test will pass if all files matching the glob $file_glob_string contain valid YAML. If a file is not valid, the test will fail and no further files will be examined.
Returns a list of all loaded YAML;
Download (0.026MB)
Added: 2007-05-04 License: Perl Artistic License Price:
903 downloads
PEAR Validate 0.6.4
PEAR Validate is a set of useful methods to validate various kinds of data. more>>
PEAR Validate is a set of useful methods to validate various kinds of data.
Main features:
- numbers (min/max, decimal or not)
- email (syntax, domain check, rfc822)
- string (predifined type alpha upper and/or lowercase, numeric,...)
- date (min, max)
- uri (RFC2396)
- possibility valid multiple data with a single method call (::multiple)
<<lessMain features:
- numbers (min/max, decimal or not)
- email (syntax, domain check, rfc822)
- string (predifined type alpha upper and/or lowercase, numeric,...)
- date (min, max)
- uri (RFC2396)
- possibility valid multiple data with a single method call (::multiple)
Download (0.014MB)
Added: 2006-08-02 License: The PHP License Price:
1179 downloads
XML::ValidWriter 0.39
XML::ValidWriter is DOCTYPE driven valid XML output. more>>
XML::ValidWriter is DOCTYPE driven valid XML output.
SYNOPSIS
## As a normal perl object:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => *FH
) ;
$writer->startTag( b1 ) ;
$writer->startTag( c2 ) ;
$writer->end ;
## Writing to a scalar:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => $buf
) ;
## Or, in scripting mode:
use XML::Doctype NAME => a, SYSTEM_ID => a.dtd ;
use XML::ValidWriter qw( :all :dtd_tags ) ;
b1 ; # Emits < a >< b1 >
c2( attr=>"val" ) ; # Emits < /b1 >< b2 >< c2 attr="val" >
endAllTags ; # Emits < /c2 >< /b2 >< /a >
## If youve got an XML::Doctype object handy:
use XML::ValidWriter qw( :dtd_tags ), DOCTYPE => $doctype ;
## If youve saved a preparsed DTD as a perl module
use FooML::Doctype::v1_0001 ;
use XML::ValidWriter qw( :dtd_tags ) ;
#
# This all assumes that the DTD contains:
#
# < !ELEMENT a ( b1, b2?, b3* ) >
#
# < !ELEMENT b1 ( c1 ) >
# < !ELEMENT b2 ( c2 ) >
#
STATUS
Alpha. Use and patch, dont depend on things not changing drastically.
Many methods supplied by XML::Writer are not yet supplied here.
<<lessSYNOPSIS
## As a normal perl object:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => *FH
) ;
$writer->startTag( b1 ) ;
$writer->startTag( c2 ) ;
$writer->end ;
## Writing to a scalar:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => $buf
) ;
## Or, in scripting mode:
use XML::Doctype NAME => a, SYSTEM_ID => a.dtd ;
use XML::ValidWriter qw( :all :dtd_tags ) ;
b1 ; # Emits < a >< b1 >
c2( attr=>"val" ) ; # Emits < /b1 >< b2 >< c2 attr="val" >
endAllTags ; # Emits < /c2 >< /b2 >< /a >
## If youve got an XML::Doctype object handy:
use XML::ValidWriter qw( :dtd_tags ), DOCTYPE => $doctype ;
## If youve saved a preparsed DTD as a perl module
use FooML::Doctype::v1_0001 ;
use XML::ValidWriter qw( :dtd_tags ) ;
#
# This all assumes that the DTD contains:
#
# < !ELEMENT a ( b1, b2?, b3* ) >
#
# < !ELEMENT b1 ( c1 ) >
# < !ELEMENT b2 ( c2 ) >
#
STATUS
Alpha. Use and patch, dont depend on things not changing drastically.
Many methods supplied by XML::Writer are not yet supplied here.
Download (0.028MB)
Added: 2006-09-13 License: Perl Artistic License Price:
1137 downloads
Net::Amazon::Validate::ItemSearch 0.39
Net::Amazon::Validate::ItemSearch is a Perl module to validate ItemSearch requests. more>>
Net::Amazon::Validate::ItemSearch is a Perl module to validate ItemSearch requests.
SYNOPSIS
Net::Amazon::Validate::ItemSearch;
my $valid = Net::Amazon::Validate::ItemSearch::factory(search_index => Actor);
my $option = $itemsearch_valid->user_or_default($input);
my $default = $itemsearch_valid->default();
Net::Amazon::Validate::ItemSearch is a class used to verify ItemSearch operation based on the current version of the WSDL and locale. For example if an Artist search is executed the user can search against Classical, Merchants, or Music.
METHODS
factory(search_index => type)
Constructs a new Net::Amazon::Validate::ItemSearch object, used to validate user input for a SearchIndex. Valid types include Actor, Artist, AudienceRating, Author Brand, BrowseNode, City, Composer, Condition, Conductor, Count, Cuisine, DeliveryMethod, Director, ISPUPostalCode, ItemPage, Keywords, MPAARating, Manufacturer, MaximumPrice, MerchantId, MinimumPrice, MusicLabel, Neighborhood, Orchestra, Power, Publisher, Sort, TextStream and Title. Which departments these search indexes are valid for is dependent upon locale.
default()
Return the default value for a given SearchIndex. Default are determined in order of preference and existence from the following list: Books, Music, DVD, Software. If none of those items are valid for a given SearchIndex then the first valid department of said SearchIndex is used.
user_or_default( $input )
If user input is specified it validates the input, and return it, otherwise it returns the default value for the SearchIndex.
<<lessSYNOPSIS
Net::Amazon::Validate::ItemSearch;
my $valid = Net::Amazon::Validate::ItemSearch::factory(search_index => Actor);
my $option = $itemsearch_valid->user_or_default($input);
my $default = $itemsearch_valid->default();
Net::Amazon::Validate::ItemSearch is a class used to verify ItemSearch operation based on the current version of the WSDL and locale. For example if an Artist search is executed the user can search against Classical, Merchants, or Music.
METHODS
factory(search_index => type)
Constructs a new Net::Amazon::Validate::ItemSearch object, used to validate user input for a SearchIndex. Valid types include Actor, Artist, AudienceRating, Author Brand, BrowseNode, City, Composer, Condition, Conductor, Count, Cuisine, DeliveryMethod, Director, ISPUPostalCode, ItemPage, Keywords, MPAARating, Manufacturer, MaximumPrice, MerchantId, MinimumPrice, MusicLabel, Neighborhood, Orchestra, Power, Publisher, Sort, TextStream and Title. Which departments these search indexes are valid for is dependent upon locale.
default()
Return the default value for a given SearchIndex. Default are determined in order of preference and existence from the following list: Books, Music, DVD, Software. If none of those items are valid for a given SearchIndex then the first valid department of said SearchIndex is used.
user_or_default( $input )
If user input is specified it validates the input, and return it, otherwise it returns the default value for the SearchIndex.
Download (0.15MB)
Added: 2007-03-09 License: Perl Artistic License Price:
960 downloads
WvDial 1.60
WvDial is an easier way to connect to the internet. more>>
WvDial is an easier way to connect to the internet. It completely avoids the need for chat scripts, edits pap-secrets and chap-secrets for you, detects your modem automatically, and chooses a valid init string.
It can even read and respond to command prompts at almost any ISP.
<<lessIt can even read and respond to command prompts at almost any ISP.
Download (0.094MB)
Added: 2007-08-01 License: LGPL (GNU Lesser General Public License) Price:
974 downloads
Flede 0.72
Flede project is a flexible content management system. more>>
Flede project is a flexible content management system.
Flede (Flexible data editor) is a content management system which provides a flexible and powerful mechanism to manage data with almost any structure in a MySQL database.
It supports user authorization with group-based access rights.
Enhancements:
- Brand new style and icons by Paulus
- Valid XHTML 1.0 Transitional
- TEXTAREA_WIDTH parameter is no more in use - the width of the textarea is controlled in css
- Only administrator having access to main table is seeing real table names
- Several interface issues and minor bugs fixed
<<lessFlede (Flexible data editor) is a content management system which provides a flexible and powerful mechanism to manage data with almost any structure in a MySQL database.
It supports user authorization with group-based access rights.
Enhancements:
- Brand new style and icons by Paulus
- Valid XHTML 1.0 Transitional
- TEXTAREA_WIDTH parameter is no more in use - the width of the textarea is controlled in css
- Only administrator having access to main table is seeing real table names
- Several interface issues and minor bugs fixed
Download (MB)
Added: 2007-02-19 License: GPL (GNU General Public License) Price:
980 downloads
Absolut Engine 1.72
Absolut Engine is a news publishing system. more>>
Absolut Engine is a news publishing system. It features three-layer access (admin/chief/editor), article posting, editing, and deleting. Absolut Engine includes a powerful image managing tool, a file manager, and a related articles manager.
Rich text editing is provided via a built-in WYSIWYG editor that produces XHTML 1.0 Strict-compliant code. Absolut Engine is easy to extend via module functionality. The provided modules include Discussions, Surveys, RSS Feed, Search Engine Optimization (static/clean URLs), and a message system for better communication between users.
Absolut Engine produces Web-standards-compliant valid and accessible XHTML 1.0 Strict and CSS semantically-correct code.
<<lessRich text editing is provided via a built-in WYSIWYG editor that produces XHTML 1.0 Strict-compliant code. Absolut Engine is easy to extend via module functionality. The provided modules include Discussions, Surveys, RSS Feed, Search Engine Optimization (static/clean URLs), and a message system for better communication between users.
Absolut Engine produces Web-standards-compliant valid and accessible XHTML 1.0 Strict and CSS semantically-correct code.
Download (0.31MB)
Added: 2006-08-30 License: GPL (GNU General Public License) Price:
1155 downloads
Solaris::MapDev 0.05a
Solaris::MapDev Perl module contains a map between instance numbers and device names. more>>
Solaris::MapDev Perl module contains a map between instance numbers and device names.
SYNOPSIS
use Solaris::MapDev qw(inst_to_dev dev_to_inst);
my $disk = inst_to_dev("sd0");
my $nfs = inst_to_dev("nfs123");
my $inst = dev_to_inst("c0t0d0s0");
mapdev_data_files(path_to_inst => "/copy/of/a/path_to_inst",
mnttab => "/copy/of/a/mnttab",
dev_ls => { "/dev/rdsk" => "ls-lR/of/dev_dsk",
"/dev/rmt" => "ls-lR/of/dev_rmt" });
my $tape = inst_to_dev("st1");
This module maps both ways between device instance names (e.g. sd0) and /dev entries (e.g. c0t0d0). Vanilla SCSI disks, SSA disks, A1000, A3000, A3500 and A5000 disks are all catered for, as are tape devices and NFS mounts.
FUNCTIONS
inst_to_dev($inst)
Return the device name name given the instance name
dev_to_inst($dev)
Return the instance name given the device name
get_inst_names
Return a sorted list of all the instance names
get_dev_names
Return a sorted list of all the device names
mapdev_data_files
This tells mapdev to use data held in copies of the real datafiles, rather than the current "live" files on the system. This is useful for example when examining explorer output. A list of key-value pairs is expected as the arguments. Valid keys-value pairs are:
path_to_inst => "/copy/of/a/path_to_inst",
A valid path_to_inst file. This is mandatory.
mnttab => "/copy/of/a/mnttab",
A valid /etc/mnttab file. This is optional - if not
specified, no information on NFS devices will be displayed.
dev_ls => { "/dir/path" => "/ls-lR/of/dir/path",
... });
A hash containing path/datafile pairs. The paths should
be one of /dev/rdsk, /dev/osa/rdsk, /dev/osa/dev/rdsk or
/dev/rmt. The datafiles should be the output of a "ls -l"
of the specified directory. A single file containing a
recursive "ls -Rl" of /dev is also acceptable.
mapdev_system_files
This tells mapdev to revert to using the current "live" datafiles on the system - see "mapdev_data_files()"
<<lessSYNOPSIS
use Solaris::MapDev qw(inst_to_dev dev_to_inst);
my $disk = inst_to_dev("sd0");
my $nfs = inst_to_dev("nfs123");
my $inst = dev_to_inst("c0t0d0s0");
mapdev_data_files(path_to_inst => "/copy/of/a/path_to_inst",
mnttab => "/copy/of/a/mnttab",
dev_ls => { "/dev/rdsk" => "ls-lR/of/dev_dsk",
"/dev/rmt" => "ls-lR/of/dev_rmt" });
my $tape = inst_to_dev("st1");
This module maps both ways between device instance names (e.g. sd0) and /dev entries (e.g. c0t0d0). Vanilla SCSI disks, SSA disks, A1000, A3000, A3500 and A5000 disks are all catered for, as are tape devices and NFS mounts.
FUNCTIONS
inst_to_dev($inst)
Return the device name name given the instance name
dev_to_inst($dev)
Return the instance name given the device name
get_inst_names
Return a sorted list of all the instance names
get_dev_names
Return a sorted list of all the device names
mapdev_data_files
This tells mapdev to use data held in copies of the real datafiles, rather than the current "live" files on the system. This is useful for example when examining explorer output. A list of key-value pairs is expected as the arguments. Valid keys-value pairs are:
path_to_inst => "/copy/of/a/path_to_inst",
A valid path_to_inst file. This is mandatory.
mnttab => "/copy/of/a/mnttab",
A valid /etc/mnttab file. This is optional - if not
specified, no information on NFS devices will be displayed.
dev_ls => { "/dir/path" => "/ls-lR/of/dir/path",
... });
A hash containing path/datafile pairs. The paths should
be one of /dev/rdsk, /dev/osa/rdsk, /dev/osa/dev/rdsk or
/dev/rmt. The datafiles should be the output of a "ls -l"
of the specified directory. A single file containing a
recursive "ls -Rl" of /dev is also acceptable.
mapdev_system_files
This tells mapdev to revert to using the current "live" datafiles on the system - see "mapdev_data_files()"
Download (0.024MB)
Added: 2007-06-13 License: GPL (GNU General Public License) Price:
865 downloads
Gear
Gear project draws a gear in an open office drawing. more>>
Gear project draws a gear in an open office drawing.
You can then load the open office drawing and a nice looking gear is shown.
You can adapt the nr of tooth from the commandline, the shape of the tooth can be changed from the source.
How does it work?
I unzipped an open office drawing and looked how the lines in a file were made, then i automatically generated the lines into the content.xml file and zip the stuff again to make a valid document.
Isnt it great to have open formats (that are also well readable...)!!!
What is essential...
Well, in the archive that you got this program in, there is a odg directory this contains all the files that make up a valid OpenOffice drawing. The program should be run in a place where this odg directory is found...
example you unzipped this archive in a temp directory and now your file tree looks
like this : temp/gear/odg
then you should run the gear program from the temp/gear directory. .
well, it isnt that hard, you will figure it out...
<<lessYou can then load the open office drawing and a nice looking gear is shown.
You can adapt the nr of tooth from the commandline, the shape of the tooth can be changed from the source.
How does it work?
I unzipped an open office drawing and looked how the lines in a file were made, then i automatically generated the lines into the content.xml file and zip the stuff again to make a valid document.
Isnt it great to have open formats (that are also well readable...)!!!
What is essential...
Well, in the archive that you got this program in, there is a odg directory this contains all the files that make up a valid OpenOffice drawing. The program should be run in a place where this odg directory is found...
example you unzipped this archive in a temp directory and now your file tree looks
like this : temp/gear/odg
then you should run the gear program from the temp/gear directory. .
well, it isnt that hard, you will figure it out...
Download (0.031MB)
Added: 2006-07-19 License: Freeware Price:
1198 downloads
WheatBlog 1.1
WheatBlogApp is a PHP/MySQL application for maintaining a Web log on your own server. more>>
Wheatblog is blogware: its a web-based content management system for maintaining online blogs, journals, news pages, and about anything else you can think of writing down.
WheatBlog allows reader interaction with a comment system, and generates valid RSS 2.0 feeds. It is powered by PHP and is compatible with the MySQL and SQLite database systems.
Main features:
- Simple, straightforward installation and use.
- All pages are dynamically created using PHP and a database.
- Posts can be assigned to categories and viewed by category or title.
- Permanent URLs, or permalinks, provide a unique, unchanging link
- to each post, and are readily indexed by search engines.
- All posts allow reader comments, but can be locked by the administrator at any time.
- A post can be marked visible or hidden at any time, allowing multiple revisions before publishing.
- All post dates are arbitrary (not based on timestamps) and therefore completely controllable by the author.
- Generates valid, well-formed RSS 2.0 feeds of your visible posts for effortless syndication.
- Valid XHTML makes customization as easy as modifying one CSS file.
- Best of all, its open source! You can hack it to suit your needs!
Enhancements:
- This release includes comment spam protection (via a simple CAPTCHA implementation) and improves RSS feeds.
<<lessWheatBlog allows reader interaction with a comment system, and generates valid RSS 2.0 feeds. It is powered by PHP and is compatible with the MySQL and SQLite database systems.
Main features:
- Simple, straightforward installation and use.
- All pages are dynamically created using PHP and a database.
- Posts can be assigned to categories and viewed by category or title.
- Permanent URLs, or permalinks, provide a unique, unchanging link
- to each post, and are readily indexed by search engines.
- All posts allow reader comments, but can be locked by the administrator at any time.
- A post can be marked visible or hidden at any time, allowing multiple revisions before publishing.
- All post dates are arbitrary (not based on timestamps) and therefore completely controllable by the author.
- Generates valid, well-formed RSS 2.0 feeds of your visible posts for effortless syndication.
- Valid XHTML makes customization as easy as modifying one CSS file.
- Best of all, its open source! You can hack it to suit your needs!
Enhancements:
- This release includes comment spam protection (via a simple CAPTCHA implementation) and improves RSS feeds.
Download (0.40MB)
Added: 2006-08-02 License: GPL (GNU General Public License) Price:
1178 downloads
mod_tidy 0.5.5
mod_tidy is just a handy and comfortable tool to help make web documents being valid. more>>
Although mod_tidy makes the impression of being a validator, it isnt one mod_tidy is just a handy and comfortable tool to help make web documents being valid.
mod_tidy is a TidyLib based DSO module for the Apache HTTP Server Version 2 to parse, clean-up and pretty-print the webservers (X)HTML output.
Web documents which pass mod_tidys severe checks – what means, that they dont run into an error page – can be called valid and well-formed (depends on mod_tidys configuration, the default is severe).
So prepared, they easily pass a validation check like the W3C Markup Validation Service, which marks the reference validating tool of its kind. If you regulary control the quality of your Web documents with mod_tidy, the use of an obligatory validation check can more be seen as an optional free exercise.
How does it work?
mod_tidy works as a filter that hooks up to the (X)HTML output of an Apache 2 webserver. It passes the webservers (X)HTML output to TidyLib which parses and optional cleans-up and pretty-prints that output. If TidyLib detects an error, the client receives a HTML page with a list of all found errors and warnings that prevent the input of being a valid (X)HTML document. If TidyLib doesnt complain, the client will get and display the (X)HTML data as without mod_tidy.
Due to the fact that mod_tidy may affect little response delays of the webserver, its use should be reduced to a developer framework only. mod_tidy is not recommended to be used in a production environment, where response delays of the webserver are undesirable.
Who makes it?
mod_tidy is initially written by Sebastian Tusk, who has retired from that project. The previous official project page has been accessible through the web for years, until it has been silently closed in April 2005. With kindly permission of the initial project owner, Sierk Bornemann has created a new home on Sourceforge.net to give mod_tidy a new chance.
<<lessmod_tidy is a TidyLib based DSO module for the Apache HTTP Server Version 2 to parse, clean-up and pretty-print the webservers (X)HTML output.
Web documents which pass mod_tidys severe checks – what means, that they dont run into an error page – can be called valid and well-formed (depends on mod_tidys configuration, the default is severe).
So prepared, they easily pass a validation check like the W3C Markup Validation Service, which marks the reference validating tool of its kind. If you regulary control the quality of your Web documents with mod_tidy, the use of an obligatory validation check can more be seen as an optional free exercise.
How does it work?
mod_tidy works as a filter that hooks up to the (X)HTML output of an Apache 2 webserver. It passes the webservers (X)HTML output to TidyLib which parses and optional cleans-up and pretty-prints that output. If TidyLib detects an error, the client receives a HTML page with a list of all found errors and warnings that prevent the input of being a valid (X)HTML document. If TidyLib doesnt complain, the client will get and display the (X)HTML data as without mod_tidy.
Due to the fact that mod_tidy may affect little response delays of the webserver, its use should be reduced to a developer framework only. mod_tidy is not recommended to be used in a production environment, where response delays of the webserver are undesirable.
Who makes it?
mod_tidy is initially written by Sebastian Tusk, who has retired from that project. The previous official project page has been accessible through the web for years, until it has been silently closed in April 2005. With kindly permission of the initial project owner, Sierk Bornemann has created a new home on Sourceforge.net to give mod_tidy a new chance.
Download (0.030MB)
Added: 2006-04-20 License: The Apache License 2.0 Price:
1284 downloads
Mail::RFC822::Address 0.3
Mail::RFC822::Address is a Perl extension for validating email addresses according to RFC822. more>>
Mail::RFC822::Address is a Perl extension for validating email addresses according to RFC822.
SYNOPSIS
use Mail::RFC822::Address qw(valid validlist);
if (valid("pdw@ex-parrot.com")) {
print "Thats a valid addressn";
}
if (validlist("pdw@ex-parrot.com, other@elsewhere.com")) {
print "Thats a valid list of addressesn";
}
Mail::RFC822::Address validates email addresses against the grammar described in RFC 822 using regular expressions. How to validate a user supplied email address is a FAQ (see perlfaq9): the only sure way to see if a supplied email address is genuine is to send an email to it and see if the user recieves it. The one useful check that can be performed on an address is to check that the email address is syntactically valid. That is what this module does.
This module is functionally equivalent to RFC::RFC822::Address, but uses regular expressions rather than the Parse::RecDescent parser. This means that startup time is greatly reduced making it suitable for use in transient scripts such as CGI scripts.
valid ( address )
Returns true or false to indicate if address is an RFC822 valid address.
validlist ( addresslist )
In scalar context, returns true if the parameter is an RFC822 valid list of addresses.
In list context, returns an empty list on failure (an invalid address was found); otherwise a list whose first element is the number of addresses found and whose remaining elements are the addresses. This is needed to disambiguate failure (invalid) from success with no addresses found, because an empty string is a valid list
<<lessSYNOPSIS
use Mail::RFC822::Address qw(valid validlist);
if (valid("pdw@ex-parrot.com")) {
print "Thats a valid addressn";
}
if (validlist("pdw@ex-parrot.com, other@elsewhere.com")) {
print "Thats a valid list of addressesn";
}
Mail::RFC822::Address validates email addresses against the grammar described in RFC 822 using regular expressions. How to validate a user supplied email address is a FAQ (see perlfaq9): the only sure way to see if a supplied email address is genuine is to send an email to it and see if the user recieves it. The one useful check that can be performed on an address is to check that the email address is syntactically valid. That is what this module does.
This module is functionally equivalent to RFC::RFC822::Address, but uses regular expressions rather than the Parse::RecDescent parser. This means that startup time is greatly reduced making it suitable for use in transient scripts such as CGI scripts.
valid ( address )
Returns true or false to indicate if address is an RFC822 valid address.
validlist ( addresslist )
In scalar context, returns true if the parameter is an RFC822 valid list of addresses.
In list context, returns an empty list on failure (an invalid address was found); otherwise a list whose first element is the number of addresses found and whose remaining elements are the addresses. This is needed to disambiguate failure (invalid) from success with no addresses found, because an empty string is a valid list
Download (0.005MB)
Added: 2007-02-14 License: Perl Artistic License Price:
985 downloads
libbash 0.9.10a
libbash is a tool that enables bash dynamic-like shared libraries. more>>
libbash is a tool that enables bash dynamic-like shared libraries.
libbash library does this by managing bash scripts that contain functions you may want to use in various scripts.
Enhancements:
- getopts.sh: The last getopts change seem to disable the ability to use `-e, `-n and `-E, being valid `echo parameters. Fixed.
<<lesslibbash library does this by managing bash scripts that contain functions you may want to use in various scripts.
Enhancements:
- getopts.sh: The last getopts change seem to disable the ability to use `-e, `-n and `-E, being valid `echo parameters. Fixed.
Download (0.042MB)
Added: 2006-05-10 License: GPL (GNU General Public License) Price:
1267 downloads
XHTML Doclet 0.2
XHTML Doclet is a standards-compliant alternative to the Javadoc standard HTML doclet. more>>
XHTML Doclet is a standards-compliant alternative to the Javadoc standard HTML doclet. The project revises the document structure to exclude outdated tags and inline styles, creates valid XHTML markup, and provides better hooks for more flexible CSS manipulation.
Quick Start:
XHTML Doclet can be integrated with your current Javadoc setup by downloading the JAR file and adding the following to the javadoc command (or equivalent arguments to Javadoc tasks in Ant):
-docletpath {local path}/XHTML_Doclet.jar
-doclet xhtmldoclet.XhtmlDoclet
<<lessQuick Start:
XHTML Doclet can be integrated with your current Javadoc setup by downloading the JAR file and adding the following to the javadoc command (or equivalent arguments to Javadoc tasks in Ant):
-docletpath {local path}/XHTML_Doclet.jar
-doclet xhtmldoclet.XhtmlDoclet
Download (0.17MB)
Added: 2007-07-12 License: LGPL (GNU Lesser General Public License) Price:
838 downloads
PCL::Simple 1.02
PCL::Simple is a Perl module to create PCL for printing plain text files. more>>
PCL::Simple is a Perl module to create PCL for printing plain text files.
SYNOPSIS
use PCL::Simple qw( PCL_pre PCL_post );
open PLAIN, ready_for_printing.txt or die;
print SNAZZY PCL_pre( -w => 132, -lpp => 66 );
print SNAZZY while ( );
print SNAZZY PCL_post;
close PLAIN;
close SNAZZY;
PCL::Simple will provide PCL strings that cause your printer to print a plain text file with *exactly* the right font -- i.e. the exact font needed to fill the page with as many fixed width characters across and down as you specify.
In addition to providing for your desired width and height layout, the provided PCL strings will also cause the printer to honor your other desires regarding paper size, paper orientation, sides printed, and number of copies.
USAGE
Two functions are exportable: PCL_pre and PCL_post.
PCL_post takes no parameters, it simply returns a string containing the "Printer Reset Command" and "Universal Exit Language Command" as specified by PCL documentation. This string is meant for appending to the end of your plain text document.
PCL_pre takes a list or an href of key value pairs and returns a PCL string for insertion at the beginning of your plain text document. PCL_pre Paramaters are:
-w
Width (Required)
-lpp
Lines Per Page (Required)
-ms
Media Size defaults to letter. Valid values are: executive, letter, legal, ledger, a4, a3, monarch, com-10, d1, c5, b5
-msrc
Media Source is not set by default. Valid values are: numbers from 0 to 69. Generally refers to paper trays or feeders. See your printer documentation for details.
-o
Orientation defaults to portrait. Valid values are: landscape, portrait.
-s
Sides defaults to 0. Valid values are: 0 (Single), 1 (Double Long), 2 (Double Short)
-c
Copies defaults to 1.
<<lessSYNOPSIS
use PCL::Simple qw( PCL_pre PCL_post );
open PLAIN, ready_for_printing.txt or die;
print SNAZZY PCL_pre( -w => 132, -lpp => 66 );
print SNAZZY while ( );
print SNAZZY PCL_post;
close PLAIN;
close SNAZZY;
PCL::Simple will provide PCL strings that cause your printer to print a plain text file with *exactly* the right font -- i.e. the exact font needed to fill the page with as many fixed width characters across and down as you specify.
In addition to providing for your desired width and height layout, the provided PCL strings will also cause the printer to honor your other desires regarding paper size, paper orientation, sides printed, and number of copies.
USAGE
Two functions are exportable: PCL_pre and PCL_post.
PCL_post takes no parameters, it simply returns a string containing the "Printer Reset Command" and "Universal Exit Language Command" as specified by PCL documentation. This string is meant for appending to the end of your plain text document.
PCL_pre takes a list or an href of key value pairs and returns a PCL string for insertion at the beginning of your plain text document. PCL_pre Paramaters are:
-w
Width (Required)
-lpp
Lines Per Page (Required)
-ms
Media Size defaults to letter. Valid values are: executive, letter, legal, ledger, a4, a3, monarch, com-10, d1, c5, b5
-msrc
Media Source is not set by default. Valid values are: numbers from 0 to 69. Generally refers to paper trays or feeders. See your printer documentation for details.
-o
Orientation defaults to portrait. Valid values are: landscape, portrait.
-s
Sides defaults to 0. Valid values are: 0 (Single), 1 (Double Long), 2 (Double Short)
-c
Copies defaults to 1.
Download (0.005MB)
Added: 2007-04-03 License: Perl Artistic License Price:
565 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 valid 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