tadzik / perl6-config-ini Goto Github PK
View Code? Open in Web Editor NEWini files parser for Perl 6
License: MIT License
ini files parser for Perl 6
License: MIT License
This module parses the standard configuration files (so called .ini files). For example usage, see SYNOPSIS in the Pod.
The user can roll his own but may inadvertently write the INI file incorrectly.
I wrote the following example for my personal documentation. I am posting it here in case it would be helpful to modify to your tastes and add to your documentation. I have zipped up the example, as I can not seems to get around the reformatting this page does to my text.
ini.test.zip
-T
Dear Raku Developers,
https://docs.raku.org/routine/starts-with
multi method starts-with(Str:D: Str(Cool) $needle, :i(:$ignorecase), :m(:$ignoremark) --> Bool:D)
The above clearly states that it is a "multi method". But the page only shows one method. Where are the others? Am I missing something? Is this tagged as multi by accident?
-T
Following INI file doesn't work returning error.
[Hello... world]
Hi,
I am using your INI reader to read KDE/Gnome desktop entry files. There are sometimes values where a semicolon is used. When parsing, the part after the semicolon is then dropped as being a comment. However, several descriptions of the INI format I found say that the ';' and also the '#' only starts a comment when placed at the beginning of a line.
An example line from such a file
Actions=Edit;Inverse
returns only Edit
for the Actions
key.
AWS::Session depends on this for parsing INI files, but I noticed that this module is no longer available for zef to install.
Config::INI return Nil
for this:
;
foo=bar
However, if there is a space character after ;
, then everything is alright.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.