Re: Date::Piece months and weeks

2008-01-05 Thread Dr.Ruud
David Cantrell schreef:

 Right now, this Monday is 2008-01-07.

It can be 2007-12-31 too, compare I went to town this Monday to I go
to town this Monday.
Taste also afternoon in stead of Monday.
Natural languages are full of this. :-)

-- 
Affijn, Ruud

Gewoon is een tijger.



Mozilla::Profile

2008-01-05 Thread Robert Rothenberg
I would like to split off Mozilla::ProfileIni from the Mozilla-Backup 
distribution and include it with Mozilla::Prefs::Simple, make use of some 
other modules (e.g. *::Mork ones) for a package which queries and 
manipulates Mozilla profiles.


I don't see anything controversial about the namespace, but for to please 
the namespace-reservation process, and mentioning the topic here.


Any issues with the namespace?

Rob


Re: Mozilla::Profile

2008-01-05 Thread Guy Hulbert
On Sat, 2008-01-05 at 19:56 +, Robert Rothenberg wrote:
 I would like to split off Mozilla::ProfileIni from the Mozilla-Backup 
 distribution and include it with Mozilla::Prefs::Simple, make use of some 
 other modules (e.g. *::Mork ones) for a package which queries and 
 manipulates Mozilla profiles.
 
 I don't see anything controversial about the namespace, but for to please 
 the namespace-reservation process, and mentioning the topic here.
 
 Any issues with the namespace?

I was thinking about uploading an INI module myself.  So this post
prodded me to run a search on Cpan ... there appear to be at least 60
different ones and I looked at a few of them.  Of course, none of the
ones I found works the same way as mine would work ...

Python has ConfigParser and everyone seems to use it.  I was just going
to rewrite the API and system interface in perl ... I still plan to do
this but I'm not sure it would help anyone if I uploaded it to Cpan.

 
 Rob

-- 
--gh




Re: Mozilla::Profile

2008-01-05 Thread Robert Rothenberg

On 05/01/08 22:47 Guy Hulbert wrote:

On Sat, 2008-01-05 at 19:56 +, Robert Rothenberg wrote:
I would like to split off Mozilla::ProfileIni from the Mozilla-Backup 
distribution and ...


I was thinking about uploading an INI module myself.  So this post
prodded me to run a search on Cpan ... there appear to be at least 60
different ones and I looked at a few of them.  Of course, none of the
ones I found works the same way as mine would work ...


Um, a slight misunderstanding. I'd use one of the existing INI modules to 
read the profiles.ini, but the hard part is finding where the various 
Mozilla profiles are stored.  Things relating to Mozilla profiles, such as 
whether they are locked, user preferences, etc. go beyond reading an INI module.


Rob