ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] помогите с перлом пожалуйста
@ 2004-08-19 11:34 Oleg Pan
  2004-08-19 11:44 ` Oleg Pan
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Pan @ 2004-08-19 11:34 UTC (permalink / raw)
  To: community

Hello community,

Есть программка
не отрабатывает stat

Уже обчитался весь - не знаю что делать.



#!/usr/bin/perl -w
use File::stat;
$Back_dir="/mnt/disk/backup/temp/";
opendir(DIR,$Back_dir);
while (defined ($file=readdir DIR)){
               next if $file =~ /^\.\.?$/;

               $full = $Back_dir.$file;

               ($size,$time)=(stat($file))[7,9];
               ($size1,$time1)=(stat($full))[7,9];

               ...
               ...
               ...
               
        };
        
closedir(DIR);
  

-- 
Best regards,
 Oleg                          mailto:wacom@narod.ru



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

end of thread, other threads:[~2004-08-20 10:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-19 11:34 [Comm] помогите с перлом пожалуйста Oleg Pan
2004-08-19 11:44 ` Oleg Pan
2004-08-20 10:47   ` Re[2]: " php-coder
2004-08-20 10:55   ` Stanislav Yadykin

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