FAQ
The following module was proposed for inclusion in the Module List:

modid: Parse::KeyValue
DSLIP: bdpOb
description: simple parser of key/value pairs
userid: DIZ (Mike Eldridge)
chapterid: 11 (String_Lang_Text_Proc)
communities:

similar:
Text::Tokenizer Text::Balanced Parse::Lex Parse::Yapp

rationale:

I believe the module belongs in the Parse namespace, as it is not a
simple tokenizer. It parses a complete string matching a particular,
simplistic format and returns a data structure representing that
string.

Text::Balanced choked on key/value pairs separated by equal signs,
returning the entire thing as a token. Utilizing extract_delimited
to defeat this introduces problems with quoted strings.

Parse::KeyValue uses a Parse::Yapp grammar to parse the string into
a hash reference that is easy to access.

It may fit better into the Text namespace. I have no strong
feelings either way.

enteredby: DIZ (Mike Eldridge)
enteredon: Tue Jun 27 18:44:02 2006 GMT

The resulting entry would be:

Parse::
::KeyValue bdpOb simple parser of key/value pairs DIZ


Thanks for registering,

Search Discussions

  • Brian d foy at Jun 28, 2006 at 5:37 pm
    [[ This message was both posted and mailed: see
    the "To," "Cc," and "Newsgroups" headers for details. ]]

    In article <200606271844.k5RIi2Rq009153@pause.perl.org>, Perl Authors
    Upload Server wrote:
    The following module was proposed for inclusion in the Module List:

    modid: Parse::KeyValue
    DSLIP: bdpOb
    description: simple parser of key/value pairs
    Parse::KeyValue uses a Parse::Yapp grammar to parse the string into
    a hash reference that is easy to access.
    How about Parse::YAPP::KeyValue?

    --
    brian d foy (one of many PAUSE admins), http://pause.perl.org
    archives at http://www.xray.mpe.mpg.de/mailing-lists/modules
    please send all messages back to modules@perl.org
  • Mike at Jul 17, 2006 at 2:31 pm

    On 7/2/06, brian d foy wrote:
    [[ This message was both posted and mailed: see
    the "To," "Cc," and "Newsgroups" headers for details. ]]

    In article <200606271844.k5RIi2Rq009153@pause.perl.org>, Perl Authors
    Upload Server wrote:
    The following module was proposed for inclusion in the Module List:

    modid: Parse::KeyValue
    DSLIP: bdpOb
    description: simple parser of key/value pairs
    Parse::KeyValue uses a Parse::Yapp grammar to parse the string into
    a hash reference that is easy to access.
    How about Parse::YAPP::KeyValue?
    that is fine with me. :)

    -mike
  • Brian d foy at Jul 18, 2006 at 4:03 pm
    [[ This message was both posted and mailed: see
    the "To," "Cc," and "Newsgroups" headers for details. ]]

    In article
    <6f49eada0607170731o907f0e5y6ec715d1889acf9a@mail.gmail.com>, mike
    wrote:
    On 7/2/06, brian d foy wrote:
    The following module was proposed for inclusion in the Module List:
    modid: Parse::KeyValue
    How about Parse::YAPP::KeyValue?
    that is fine with me. :)
    Done. I modified the original request and approved the namespace.

    Thanks,

    --
    brian d foy (one of many PAUSE admins), http://pause.perl.org
    archives at http://www.xray.mpe.mpg.de/mailing-lists/modules
    please send all messages back to modules@perl.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmodules @
categoriesperl
postedJun 27, '06 at 6:44p
activeJul 18, '06 at 4:03p
posts4
users3
websitecpan.org...

People

Translate

site design / logo © 2019 Grokbase