Главная страница


ru.perl

 
 - RU.PERL ----------------------------------------------------------------------
 From : Artur Penttinen                      2:5020/400     30 Aug 2000  11:08:11
 To : Alexander Bolotnov
 Subject : Re: file size
 -------------------------------------------------------------------------------- 
 
 Alexander Bolotnov <Alexander.Bolotnov@p82.f4.n5052.z2.fidonet.org> wrote:
 
 AB> All,
 AB> 
 AB> спросить хотел...
 AB> можно размер файла узнать так:
 AB> 
 AB> open DL, "< var.pl";
 AB> ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,
 AB> $bl ocks) = stat(DL); print "$size - size"; close DL; а как-нить покороче
 AB> можно?
 
   print (stat("var.pl"))[7]," - size"; подойдет?
 
               WBW, Artur
 
 -- 
 Реальное объявление в реальной газете:
 "Ликвидация предприятий. Быстро и надежно." 
 
 --- ifmail v.2.15dev5
  * Origin: Sonera Ltd. (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 file size   Alexander Bolotnov   29 Aug 2000 23:43:00 
 Re: file size   Alexander Babanov   29 Aug 2000 18:12:06 
 file size   Alexander Bolotnov   30 Aug 2000 10:43:57 
 Re: file size   Alexander Babanov   30 Aug 2000 08:22:14 
 file size   Alex Pisarev   30 Aug 2000 13:15:57 
 Re: file size   Alexander Gaiduk   30 Aug 2000 11:12:04 
 Re: file size   Artur Penttinen   30 Aug 2000 11:08:11 
 file size   Alexander Bolotnov   30 Aug 2000 12:18:02 
 file size   Dmitry Karvalio   30 Aug 2000 11:37:58 
 file size   Alexander Evstifeev   30 Aug 2000 16:32:35 
 file size   Dmitry Karvalio   31 Aug 2000 00:05:26 
 Re: file size   Ivan Frolcov   31 Aug 2000 10:58:58 
 Re: file size   Alexander Babanov   31 Aug 2000 04:06:10 
 Re: file size   Artur Penttinen   31 Aug 2000 18:08:57 
 Re: file size   Pavel Kurnosoff   31 Aug 2000 13:25:54 
 Re: file size   Slava Gorbanev   31 Aug 2000 13:38:52 
 Re: file size   Artem Chuprina   01 Sep 2000 12:57:55 
 Re: file size   Michael Samanov   30 Aug 2000 13:30:10 
 Re: file size   Paul Kulchenko   30 Aug 2000 20:38:59 
 file size   Nickolay Umnoff   31 Aug 2000 10:05:58 
Архивное /ru.perl/6578bed14134.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional