Module: Parse::PerlConfig

Michael Fowler wolfm at pobox.alaska.net
Sat Feb 19 06:05:03 CST 2000


I just completed a module that parses (and I use the term loosely) symbols
from a Perl script.  What it basically does is read in a specified file,
evals the file inside a specific namespace, then examines the namespace for
symbols and extracts the various things (or datatypes, if you prefer) into a
hash.

The only defined function (the module is used procedurally) is parse(),
exported as parse_perl_config(), which takes a list of key-value pairs as
its argument.

Currently I'm calling the module Parse::PerlConfig.  I notice the Parse::
hierarchy is taken up entirely by parser generators, and I'm beginning to
wonder about the appropriateness of the name.  Would Config::Perl be better?

Is this module of general interest?  I was thinking of uploading it as my
first module on CPAN, and wanted to get a little feedback first.

It can be obtained at
http://shoebox.net/software/archive/Parse-PerlConfig-0.01.tar.gz if anyone
is interested.



I recently posted the above message to comp.lang.perl.modules and got
absolutely -no- response.  I would appreciate any feedback, be it regarding
the usefullness of the module itself, difficulty in understanding my
description, anything.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--
=================================================
Mailing list info:  If at any time you wish to (un|re)subscribe to
the list send the request to majordomo at hfb.pm.org.  All requests
should be in the body, and look like such
                  subscribe anchorage-pm-list
                  unsubscribe anchorage-pm-list



More information about the Anchorage-pm mailing list