From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Mon, 30 Mar 2009 10:05:40 +0300 To: "ALT Linux Community general discussions" From: "Aleksander N. Gorohovski" Organization: DonNTU Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <49D059EB.6070701@altlinux.ru> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <49D059EB.6070701@altlinux.ru> User-Agent: Opera Mail/9.62 (Linux) Subject: Re: [Comm] perldoc X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 07:06:04 -0000 Archived-At: List-Archive: List-Post: On Mon, 30 Mar 2009 08:34:35 +0300, Anton Gorlov wrote: > Хм..у кого-нибудь perldoc работает? > apt-get install perldoc и последующий perldoc -f sleep выдали > > > > Error while formatting with Pod::Perldoc::ToMan: > Insecure dependency in `` while running with -T switch at > /usr/lib/perl5/vendor_perl/Pod/Perldoc/ToMan.pm line 103. > > Got a 0-length file from /tmp/T5tst18A5b via Pod::Perldoc::ToMan!? $ perldoc -f sleep sleep EXPR sleep Causes the script to sleep for EXPR seconds, or forever if no EXPR. May be interrupted if the process receives a signal such as "SIGALRM". Returns the num‐ ber of seconds actually slept. You probably cannot mix "alarm" and "sleep" calls, because "sleep" is often implemented using "alarm". On some older systems, it may sleep up to a full second less than what you requested, depending on how it counts seconds. Most modern systems always sleep the full amount. They may appear to sleep longer than that, however, because your process might not be scheduled right away in a busy multitasking system. For delays of finer granularity than one second, you may use Perl’s "syscall" interface to access setitimer(2) if your system supports it, or else see "select" above. The Time::HiRes module (from CPAN, and starting from Perl 5.8 part of the standard distribution) may also help. See also the POSIX module’s "pause" function. $ uname -a Linux oc.peooc.net 2.6.18-std-smp-alt7 #1 SMP Sat Aug 4 00:07:54 MSD 2007 i686 GNU/Linux