FreeBSD Bugzilla – Attachment 66494 Details for
Bug 98241
Update Port: devel/p5-Config-Fast 1.05->1.07
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
submission.txt
submission.txt (text/plain), 3.42 KB, created by
Aaron Dalton
on 2006-05-31 22:10:14 UTC
(
hide
)
Description:
submission.txt
Filename:
MIME Type:
Creator:
Aaron Dalton
Created:
2006-05-31 22:10:14 UTC
Size:
3.42 KB
patch
obsolete
>? p5-Config-Fast-1.07.tbz >? submission.txt >Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/devel/p5-Config-Fast/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- Makefile 16 Nov 2005 20:07:58 -0000 1.3 >+++ Makefile 31 May 2006 21:02:17 -0000 >@@ -6,7 +6,7 @@ > # > > PORTNAME= Config-Fast >-PORTVERSION= 1.05 >+PORTVERSION= 1.07 > CATEGORIES= devel perl5 > MASTER_SITES= ${MASTER_SITE_PERL_CPAN} > MASTER_SITE_SUBDIR= Config >@@ -22,7 +22,7 @@ > .include <bsd.port.pre.mk> > > .if ${PERL_LEVEL} < 500600 >-IGNORE= needs at least perl 5.6 to build >+IGNORE= needs at least perl 5.6 to run > .endif > > .include <bsd.port.post.mk> >Index: distinfo >=================================================================== >RCS file: /home/pcvs/ports/devel/p5-Config-Fast/distinfo,v >retrieving revision 1.2 >diff -u -r1.2 distinfo >--- distinfo 16 Nov 2005 19:04:17 -0000 1.2 >+++ distinfo 31 May 2006 21:02:17 -0000 >@@ -1,3 +1,3 @@ >-MD5 (Config-Fast-1.05.tar.gz) = 8fc7c2445a13e45296ee8aea6c940b06 >-SHA256 (Config-Fast-1.05.tar.gz) = cb750116bb4bc8fff8ab375ebf1da672e4fd16fd309c02495009b5572fdc61cb >-SIZE (Config-Fast-1.05.tar.gz) = 8292 >+MD5 (Config-Fast-1.07.tar.gz) = 7228e3419b50d74b07d3033d9ca6928e >+SHA256 (Config-Fast-1.07.tar.gz) = 7b03043b2a722384af570cea7083f68c437744cea902cfa89ed00b6821cc5d8f >+SIZE (Config-Fast-1.07.tar.gz) = 10020 >Index: pkg-descr >=================================================================== >RCS file: /home/pcvs/ports/devel/p5-Config-Fast/pkg-descr,v >retrieving revision 1.2 >diff -u -r1.2 pkg-descr >--- pkg-descr 21 Sep 2005 19:30:43 -0000 1.2 >+++ pkg-descr 31 May 2006 21:02:17 -0000 >@@ -1,4 +1,42 @@ >-This Config::Fast module. This allow extremely fast configuration files to >-be parsed. >+This module is designed to provide an extremely lightweight way to parse >+moderately complex configuration files. As such, it exports a single >+function - fastconfig() - and does not provide any OO access methods. >+Still, it is fairly full-featured. >+ >+Here's how it works: >+ >+ %cf = fastconfig($file, $delim); >+ >+Basically, the fastconfig() function returns a hash of keys and values >+based on the directives in your configuration file. By default, directives >+and values are separated by whitespace in the config file, but this can be >+easily changed with the delimiter argument (see below). >+ >+When the configuration file is read, its modification time is first >+checked and the results cached. On each call to fastconfig(), if the >+config file has been changed, then the file is reread. Otherwise, the >+cached results are returned automatically. This makes this module great >+for mod_perl modules and scripts, one of the primary reasons I wrote it. >+Simply include this at the top of your script or inside of your >+constructor function: >+ >+ my %cf = fastconfig('/path/to/config/file.conf'); >+ >+If the file argument is omitted, then fastconfig() looks for a file named >+$0.conf in the ../etc directory relative to the executable. For example, >+if you ran: >+ >+ /usr/local/bin/myapp >+ >+Then fastconfig() will automatically look for: >+ >+ /usr/local/etc/myapp.conf >+ >+This is great if you're really lazy and always in a hurry, like I am. >+ >+If this doesn't work for you, simply supply a filename manually. Note that >+filename generation does not work in mod_perl, so you'll need to supply a >+filename manually. > > WWW: http://search.cpan.org/dist/Config-Fast/ >+Author: Nathan Wiger <nate@wiger.org>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 98241
: 66494