Steve Simmons wrote:
>
> On Wed, Aug 16, 2000 at 08:03:31PM -0000, Perl6 RFC Librarian wrote:
>
> > Perl should provide a mechanism to have common code autoloaded from a
> > file. . . .
>
> > 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.
>
> This proposal needs to be rethought keeping multiple simultaneously
> installed versions of perl in mind. For example, when site policy
> that 6.0 uses module X and not Y, but 6.1 uses Y and not X, well,
> the site and user rc files had better be able to handle that with
> minimal complexity.
Apart from release, you also want to keep the platform in mind. In our
environment, the system binary directories are platform dependent, but
user's home directories are not. Still, I may want to specify different
perl defaults for Solaris 2.5 vs Solaris 2.7 or Linux.
I'd prefer to see both kinds of conditions (platform and perl release)
work as conditional clauses within the defaults file.
Hildo