mscerts.net
 
Adaptive Technologies
Adobe AIR Apps
Artistic Software
Communications
Database
Desktop Environment
Documentation
Education
Games
Home Automation
Information Management
Internet
Multimedia
Office
Printing
Programming
Religion
Science
Science and Engineering
Security
System
Terminals
Text Editing&Processing
Utilities
 
 
myGengo 1.2.0
corejet.jira 1.0 Alpha 1
jsoncmd 0.0
correct_pycountry 0.12.2
Monsters 1.0
corejet.core 1.0 Alpha 1
Scope::Container::DBI 0.04
DBIx::DataModel 1.27
Word Golf 0.2.1
Plack::Middleware::LogWarn 0.001002
 
 
 

Parse::Indented 0.02

Given a Pythonesque set of indented lines, parses them into a convenient hierarchical structure

Given a Pythonesque set of indented lines, the Parse::Indented module parses them into a convenient hierarchical structure.

Developer comments

I have a bad habit of writing pseudocode when thinking of data structures. Since I learned Python, it's only gotten worse. So every time I start a new research project, I end up scratching out some pseudocode specifications for the various data or semantics or what have you, and then I bog down in writing yet another incomplete, buggy parser. This module represents my first try at setting down that incomplete, buggy parser where I can find it, so maybe next time I'll start from something other than scratch, and end up with a less incomplete and less buggy parser.

Because I'm lazy, the output of this parser is an XML::xmlapi structure, because that API is embedded in my brainstem at this point.

This parser does absolutely nothing with the actual lines themselves, but you can give it a function to call on each line to parse it and splice it into the final result. Parse::RecDescent::Simple is a good choice (not that I'm partial or anything).

 use Parse::Indented;

 my $parser = Parse::Indented->new(sub {$_[0]}); # Just pass the line through as content for a simple parse.
 my $obj = $parser->parse (q{ });

Requirements:

· Perl

  Other
-   SOAP::Simple 0.00_03
-   Term::Size::Any 0.001
-   TAP::Harness::JUnit 0.32
-   SNMP::Class 0.15
-   SHA 2.01
-   Net::Vypress::Chat 0.72.1
-   Math::BigInt::Random::OO 0.03
-   Mail::Sender 0.8.16
-   HTML::Template::HTX 0.07
-   SquidGuard Manager 1.2
-   Funifs 1.1
-   Devel::FastProf 0.08
-   Convert::Moji 0.01
-   Config::GitLike 1.04
-   Class::Data::Reloadable 0.04
-   CatalystX::ListFramework 0.5
-   Capture::Tiny 0.08
-   CGI::Search 0.5
-   Apache::TieBucketBrigade 0.05
-   Unicode::LineBreak 1.007.520
 
 
                mscerts.net