Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.175.146 Times

File::Stat::OO 0.03

Company: Dan Horne
Date Added: June 18, 2013  |  Visits: 404

File::Stat::OO

Report Broken Link
Printer Friendly Version


Product Homepage
Download (32 downloads)



File::Stat::OO is an object-oriented interface for accessing file status attributes.<br /><br />SYNOPSIS<br /><br /> use File::Stat::OO;<br /><br /> my $foo = File::Stat::OO->new({file => '/etc/password'});<br /> $foo->stat; # stat file specified at instantiation time<br /> print $foo->size;<br /> print $foo->mtime; # modification time in epoch seconds<br /><br />or inflate epoch seconds into DateTime objects<br /><br /> my $foo = File::Stat::OO->new();<br /> $foo->use_datetime(1);<br /><br /> # Or the two lines above can be combined as<br /> # my $foo = File::Stat::OO->new({use_datetime => 1});<br /><br /> $foo->stat('/etc/password'); # pass file name to the stat method<br /> print $foo->mtime; # returns DateTime object not an epoch<br /> print $foo->mtime->epoch; # epoch seconds

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Combined Datetime Epoch Filestatoo Filestatoogtnew Filestatoogtnewfile Filestatoogtnewuse Datetime Foogtmtime Foogtmtimegtepoch Foogtstat Etcpassword Foogtuse Datetime Lines Method Object Objects Oo Print Returns Seconds Secondsor Stat
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


FILE::STAT::OO RELATED
Libraries  -  DateTime::Format::Builder 0.7807
DateTime::Format::Builder is a Perl module to create datetime parser classes and objects. SYNOPSIS package DateTime::Format::Brief; our $VERSION = 0.07; use DateTime::Format::Builder ( parsers => { parse_datetime => [ { regex =>...
48.13 KB  
Libraries  -  Rose::DateTime 0.532
Rose::DateTime is a Perl module with DateTime helper functions and objects. SYNOPSIS use Rose::DateTime::Util qw(:all); $now = parse_date(now); $then = parse_date(12/25/2001 6pm); $date_text = format_date($then, "%D at %T %p"); ......
11.26 KB  
Libraries  -  DateTime::Format::Epoch 0.10
DateTime::Format::Epoch is a Perl module that can convert DateTimes to/from epoch seconds. SYNOPSIS use DateTime::Format::Epoch; my $dt = DateTime->new( year => 1970, month => 1, day => 1 ); my $formatter = DateTime::Format::Epoch->new(...
17.41 KB  
Libraries  -  DateTime::Format::Epoch::DotNet 0.10
DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds. SYNOPSIS use DateTime::Format::Epoch::DotNet; my $dt = DateTime::Format::Epoch::DotNet->parse_datetime( 1051488000 );...
17.41 KB  
Libraries  -  DateTime::Format::Epoch::Unix 0.10
DateTime::Format::Epoch::Unix is a Perl module that can convert DateTimes to/from Unix epoch seconds. SYNOPSIS use DateTime::Format::Epoch::Unix; my $dt = DateTime::Format::Epoch::Unix->parse_datetime( 1051488000 ); # 2003-04-28T00:00:00...
17.41 KB  
Libraries  -  DateTime::Format::Epoch::MacOS 0.10
DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds. SYNOPSIS use DateTime::Format::Epoch::MacOS; my $dt = DateTime::Format::Epoch::MacOS->parse_datetime( 1051488000 );...
17.41 KB  
Libraries  -  DateTime::Calendar::Pataphysical 0.04
DateTime::Calendar::Pataphysical is a Perl module with dates in the pataphysical calendar. SYNOPSIS use DateTime::Calendar::Pataphysical; $dt = DateTime::Calendar::Pataphysical->new( year => 1752, month => 10, day => 4 );...
23.55 KB  
Libraries  -  DateTime::Event::Sunrise 0.0501
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. SYNOPSIS use DateTime; use DateTime::Event::Sunrise; my $dt = DateTime->new( year => 2000, month => 6, day => 20, ); my $sunrise =...
12.29 KB  
Libraries  -  WWW::A9Toolbar 0.01
WWW::A9Toolbar is a class to allow perl to access the a9.com toolbar. SYNOPSIS use WWW::A9Toolbar; my $a9 = WWW::A9Toolbar->new( { email => my@email.address, password => mya9password, connect => 1 } ); my @bookmarks = $a9->find_bookmarks({...
7.17 KB  
Libraries  -  Data::ICal::Entry::Alarm::Email 0.12
Data::ICal::Entry::Alarm::Email is a Perl module that represents an emailed alarm in an iCalendar file. SYNOPSIS my $valarm = Data::ICal::Entry::Alarm::Audio->new(); $valarm->add_properties( attach => [...
102.4 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB