ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Yury Aliaev <mutab0r@rambler.ru>
To: community@altlinux.org, ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Модули и библиотеки в Perl
Date: Mon, 03 Oct 2005 19:12:48 +0400
Message-ID: <43414A70.9090808@rambler.ru> (raw)

Добрый вечер!

У меня возник вопрос: я сейчас пилю один набор программ на Perl. Там 
имеется некоторое количество общего кода, который логично вынести в 
отдельный файл. Как известно, в Перле есть две возможности: организовать 
библиотеку (с расширением .pl) и затем подключать с помощью require или 
модуль (.pm) и подключать с помощью use. Является ли сейчас какой-нибудь 
из этих способов предпочтительным или всё равно, что использовать? Если 
делать модуль, то понятно, куда его складывать -- в 
/usr/lib/Perl5/по_вкусу, а если библиотеку, то её куда класть?

Естественно, всё говорится при условии, что на машине стоит ALT Linux.

Заранее спасибо,
Юрий.


             reply	other threads:[~2005-10-03 15:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03 15:12 Yury Aliaev [this message]
2005-10-06 19:10 ` Igor Vlasenko
2005-10-07 11:50   ` Yury Aliaev
2005-10-07 12:06     ` Igor Vlasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43414A70.9090808@rambler.ru \
    --to=mutab0r@rambler.ru \
    --cc=community@altlinux.org \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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