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

Reply via email to