List::Parseable

List::Parseable is a Perl module with routines to work with lists containing a simple language.
Download

List::Parseable Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sullivan Beck
  • Publisher web site:
  • http://search.cpan.org/~sbeck/List-Parseable-1.01/Parseable.pod

List::Parseable Tags


List::Parseable Description

List::Parseable is a Perl module with routines to work with lists containing a simple language. This module allows you to treat a list as a small program. This allows you to do several tasks that I run into frequently:Creating complex valuesIf you need to set a variable in a config file or data file to some value which can only be done in a complex run-time fashion (perhaps it depends on a value elsewhere in the file), this allows you to set it to a list (or string) which may be evaluated to get the value desired.Describing dataValidity checking on a piece of data is often much more complex then merely checking to see that it is an integer or a date. It may have a range of allowed values for example.A description of the data can be written as a list which, when evaluated, will return true if a piece of data meets the validity requirements described there.All of this could be done by nesting actual perl code and running eval on it, but it is usually desirable to do things in a much safer way. Also, it is rarely necessary to have the full power (and complexity) of the perl language in this case. Requirements: · Perl


List::Parseable Related Software