On Tue, Aug 30, 2011 at 01:55:48PM +0100, Smylers wrote:
Hi. I'm looking for some advice on where I should put the config file
for a command I'm distributing on Cpan. Where would you it to be? I'm
interested in opinions of Windows, Mac, and Unix users, for both
per-user and system-wide config.
David Cantrell writes:
> On Tue, Aug 30, 2011 at 01:55:48PM +0100, Smylers wrote:
>
> > ... advice on where I should put the config file for a command ...
>
> On Mac and other Unix-a-likes, .${command}rc or .$command for per-user
> config, and /etc/$command or /etc/${command}rc for system-wide c
On Tue, Aug 30, 2011 at 01:55:48PM +0100, Smylers wrote:
> Hi. I'm looking for some advice on where I should put the config file
> for a command I'm distributing on Cpan. Where would you it to be? I'm
> interested in opinions of Windows, Mac, and Unix users, for both
> per-user and system-wide con
On Tue, Aug 30, 2011 at 04:44:10PM +0100, Smylers wrote:
> Abigail writes:
>
> > On Tue, Aug 30, 2011 at 01:55:48PM +0100, Smylers wrote:
> >
> > > Hi. I'm looking for some advice on where I should
>
> ... ask users to ...
>
> > > put the config file for a command I'm distributing on Cpan. Wher
On 30 August 2011 16:25, Smylers wrote:
> On Windows, it uses %LOCAL_APPDATA%\bang.cfg (where %LOCAL_APPDATA% is
> gleaned from a system %call). How does that seem to Windows users?
>
> However it doesn't seem to support recent Windows versions, crashing on.
> Windows 7 and even Vista:
>
> https
Abigail writes:
> On Tue, Aug 30, 2011 at 01:55:48PM +0100, Smylers wrote:
>
> > Hi. I'm looking for some advice on where I should
... ask users to ...
> > put the config file for a command I'm distributing on Cpan. Where
> > would you
... expect ...
> > it to be? I'm interested in opinions o
David Precious writes:
> On Tuesday 30 August 2011 13:55:48 Smylers wrote:
>
> > Hi. I'm looking for some advice on where I should put the config file
> > for a command I'm distributing on Cpan.
>
> Config::Find looks like it is designed for exactly what you're looking
> for - have you seen that
Philip Newton writes:
> On Tue, Aug 30, 2011 at 14:55, Smylers wrote:
>
> > I see that psql uses %APPDATA%\postgesql\psqlrc.conf for per-user
> > config
>
> I think that on Windows, the application data directory hierarchy is
> the right place for programs to store their own configuration dat
On Tue, Aug 30, 2011 at 01:55:48PM +0100, Smylers wrote:
> Hi. I'm looking for some advice on where I should put the config file
> for a command I'm distributing on Cpan. Where would you it to be? I'm
> interested in opinions of Windows, Mac, and Unix users, for both
> per-user and system-wide conf
On Tuesday 30 August 2011 13:55:48 Smylers wrote:
> Hi. I'm looking for some advice on where I should put the config file
> for a command I'm distributing on Cpan. Where would you it to be? I'm
> interested in opinions of Windows, Mac, and Unix users, for both
> per-user and system-wide config.
>
On Tue, Aug 30, 2011 at 14:55, Smylers wrote:
> In particular, on Windows:
>
> * system_cfg_dir returns the value of %windir%. Is %windir%\bang* a
> sensible place for the config of a command called bang?
>
> * user_cfg_dir returns the user's home directory. Is that a sensible
> place for a conf
Hi. I'm looking for some advice on where I should put the config file
for a command I'm distributing on Cpan. Where would you it to be? I'm
interested in opinions of Windows, Mac, and Unix users, for both
per-user and system-wide config.
Or has anybody here dealt with this in Perl, for a command w
12 matches
Mail list logo