Bestand :: Stat :: OO

OO-interface voor toegang tot bestandsstatusattributen
Download nu

Bestand :: Stat :: OO Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Dan Horne
  • Uitgever website:
  • http://search.cpan.org/~dhorne/

Bestand :: Stat :: OO Tags


Bestand :: Stat :: OO Beschrijving

OO-interface voor toegang tot bestandsstatusattributen Bestand :: Stat :: OO is een objectgeoriënteerde interface voor toegang tot bestandsstatusattributen.Synopsis Gebruik bestand :: Stat :: OO; Mijn $ foo = bestand :: Stat :: OO-> NIEUW ({bestand => '/ etc / wachtwoord'}); $ foo-> stat; # STAT-bestand gespecificeerd op instantiatietijdprint $ foo-> grootte; Print $ foo-> muren; # Modificatietijd in EPOCH seconden opgeblazen EPOCH seconden in DateDime-objecten My $ FOO = Bestand :: STAT :: OO-> NIEUW (); $ foo-> gebruik_datetime (1); # Of de twee regels hierboven kunnen worden gecombineerd als # mijn $ foo = bestand :: stat :: oo-> nieuw ({gebruik_datetime => 1}); $ foo-> stat ('/ etc / wachtwoord'); # Bestandsnaam doorgeven aan de stat-methode print $ foo-> mijd; # Retourneert datetime-object niet een epoch afdrukken $ foo-> mtime-> epoch; # EPOCH secondenvereisten: · Perl


Bestand :: Stat :: OO Gerelateerde software

fp

Een bibliotheek voor het programmeren in een functionele stijl ...

190

Downloaden