ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] perl и @INC
@ 2003-04-15 15:42 Alex Yustasov
  2003-04-15 16:38 ` Sergey Degtyaryov
  2003-04-20  1:14 ` [Comm] " Alexey Tourbin
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Yustasov @ 2003-04-15 15:42 UTC (permalink / raw)
  To: community

Здравствуйте!
В рассылке проскачило про perl -e 'print join "\n", @INC'
У меня выводит следующее. Вопрос про последнюю точку - она
нужна? 

/usr/lib/perl5/i386-linux
/usr/lib/perl5
/usr/local/lib/perl5/site_perl/5.8.0/i386-linux
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/i386-linux
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl
.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] perl и @INC
  2003-04-15 15:42 [Comm] perl и @INC Alex Yustasov
@ 2003-04-15 16:38 ` Sergey Degtyaryov
  2003-04-20  1:14 ` [Comm] " Alexey Tourbin
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Degtyaryov @ 2003-04-15 16:38 UTC (permalink / raw)
  To: community

Alex Yustasov пишет:
> Здравствуйте!
> В рассылке проскачило про perl -e 'print join "\n", @INC'
> У меня выводит следующее. Вопрос про последнюю точку - она
> нужна? 
> 
> /usr/lib/perl5/i386-linux
> /usr/lib/perl5
> /usr/local/lib/perl5/site_perl/5.8.0/i386-linux
> /usr/local/lib/perl5/site_perl/5.8.0
> /usr/local/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/i386-linux
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/vendor_perl
> .
> 

Не повредит. =)
На самом деле, я не в курсе, отрабатывается ли она, обычно для 
модулей от директории скрипта используется use lib.

--
Сергей Дегтярев



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Comm] Re: perl и @INC
  2003-04-15 15:42 [Comm] perl и @INC Alex Yustasov
  2003-04-15 16:38 ` Sergey Degtyaryov
@ 2003-04-20  1:14 ` Alexey Tourbin
  1 sibling, 0 replies; 3+ messages in thread
From: Alexey Tourbin @ 2003-04-20  1:14 UTC (permalink / raw)
  To: community; +Cc: Alex Yustasov

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

On Tue, Apr 15, 2003 at 06:42:54PM +0300, Alex Yustasov wrote:
> Здравствуйте!
> В рассылке проскачило про perl -e 'print join "\n", @INC'
> У меня выводит следующее. Вопрос про последнюю точку - она
> нужна? 

Нужна, за исключением taint mode.

$ man perlvar
/\@INC

> /usr/lib/perl5/i386-linux
> /usr/lib/perl5
> /usr/local/lib/perl5/site_perl/5.8.0/i386-linux
> /usr/local/lib/perl5/site_perl/5.8.0
> /usr/local/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/i386-linux
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/vendor_perl
> .

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-20  1:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-15 15:42 [Comm] perl и @INC Alex Yustasov
2003-04-15 16:38 ` Sergey Degtyaryov
2003-04-20  1:14 ` [Comm] " Alexey Tourbin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git