RFC 114 (v1) Perl resource configuration

[email protected] (Perl6 RFC Librarian)
Newsgroups perl.perl6.language,perl.perl6.announce
Message-ID <[email protected]>
This and other RFCs are available on the web at
  http://dev.perl.org/rfc/

=head1 TITLE

Perl resource configuration

=head1 VERSION

  Maintainer: Jonthan Scott Duff <[email protected]>
  Date: 16 Aug 2000
  Version: 1
  Mailing List: [email protected]
  Number: 114

=head1 ABSTRACT

Perl should provide a mechanism to have common code autoloaded from a
file.

=head1 DESCRIPTION

Many other programs have so called "resource configuration" files (at
least that's what I call them) that are loaded and interpretted upon
program startup.  Some example programs that have this ability include
bash, mutt, and python.  Perl should do the same.

A C</etc/perlrc> file could be used to set system-wide defaults that
the system administrator would like to promote.  For instance,
C</etc/perlrc> could turn on stricture or warnings.

This RFC proposes that Perl 6 support 2 "rc" files: a per-user file
located in the user's home directory C<~/.perlrc> and a global "rc"
file, C</etc/perlrc>, that affects all instances of perl running on
the machine.

Note that this is couched in terms of a Unix-ish filesystem.  Perl
should support the analogous concept for the other platforms on which
it compiles. 

=head1 IMPLEMENTATION

Make perl look for the rc files.

=head1 REFERENCES

Perl 5.6.0 Documentation

python documentation

bash documentation

mutt documentation
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.