Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PERL5LIB is not adequately documented #725

Closed
p5pRT opened this issue Oct 15, 1999 · 3 comments
Closed

PERL5LIB is not adequately documented #725

p5pRT opened this issue Oct 15, 1999 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 15, 1999

Migrated from rt.perl.org#1627 (status was 'resolved')

Searchable as RT1627$

@p5pRT
Copy link
Author

p5pRT commented Oct 15, 1999

From stever@jeff.CS.McGill.CA


I have discovered, only by accident, that setting PERL5LIB to 'foo'
will include both 'foo' and 'foo/${arch}' in @​INC. I take it that
this is the same behaviour as "use lib 'foo'".

I find this an incredibly useful feature. To share it with others, I
suggest that "perlrun" documentation be updated to include this fact.

The version at
  http​://language.perl.com/newdocs/pod/perlrun.html
for example, does not mention this feature of PERL5LIB.

Cheers,
-SteveR



Site configuration information for perl 5.00503​:

Configured by stever at Tue May 11 21​:05​:54 EDT 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  Platform​:
  osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
  uname='osf1 jeff.cs.mcgill.ca v4.0 386 alpha alpha '
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler​:
  cc='cc', optimize='-O4', gccversion=
  cppflags='-std -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C'
  ccflags ='-std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C'
  stdchar='unsigned char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=8, ptrsize=8, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
  alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib
  libs=-ldbm -ldb -lm
  libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-rpath,/labs/cgm/lib/perl5/5.00503/alpha-dec_osf/CORE'
  cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -s -L/usr/local/lib'

Locally applied patches​:
 


@​INC for perl 5.00503​:
  /home/cgm/u3/stever/lib/perl5/alpha-dec_osf
  /home/cgm/u3/stever/lib/perl5
  /labs/cgm/lib/perl5/5.00503/alpha-dec_osf
  /labs/cgm/lib/perl5/5.00503
  /labs/cgm/lib/perl5/site_perl/5.005/alpha-dec_osf
  /labs/cgm/lib/perl5/site_perl/5.005
  .


Environment for perl 5.00503​:
  HOME=/home/cgm/u3/stever
  LANG (unset)
  LANGUAGE (unset)
  LD_LIBRARY_PATH=/labs/cgm/lib
  LOGDIR (unset)
  PATH=/home/cgm/u3/stever/bin/alpha​:/home/cgm/u3/stever/bin​:/labs/cgm/sbin​:/labs/cgm/bin​:/labs/cgm/share/sbin​:/labs/cgm/share/bin​:/usr/local/bin​:/usr/cnoc/sbin​:/usr/bin/X11​:/usr/bin/mtools​:/usr/bin/mh​:/usr/dt/bin​:/usr/bin​:/bin​:/usr/sbin​:/sbin​:/usr/games​:/freeware/bin/X11​:/freeware/bin
  PERL5LIB=/home/cgm/u3/stever/lib/perl5
  PERL_BADLANG (unset)
  SHELL=/usr/local/bin/tcsh

@p5pRT
Copy link
Author

p5pRT commented Jul 26, 2000

From [Unknown Contact. See original ticket]

x

@p5pRT p5pRT closed this as completed Nov 28, 2003
@p5pRT
Copy link
Author

p5pRT commented Nov 28, 2003

From The RT System itself

'x\n'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant