CC: | ac56 [...] soas.ac.uk |
Subject: | support to read from filehandle |
Date: | Wed, 3 Jan 2007 13:27:46 +0000 |
To: | bug-Config-Simple [...] rt.cpan.org |
From: | Alexander Clouter <ac56 [...] soas.ac.uk> |
Hi,
I have used Config::Simple for some time and whilst trying to build a script
to pull satellite DVB tuner data from the Internet I ran into a problem.
Turns out Config::Simple does not support being passed a filehandle to read
its data from which is a pain in the neck for in-memory 'files'.
Attached is a script that pulls an INI file from the Internet, dumps the
payload into a scalar and gets Config::Simple to munch on the file.
$ ./install-dvbS.pl 1.0W
Also attached is a (hopefully) backwards compatible patch that enables this
to work.
Please consider for inclusion for a future version of Config::Simple.
Regards
Alex
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.