<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>perlcodesample</author_name>
  <author_url>https://blog.hatena.ne.jp/perlcodesample/</author_url>
  <blog_title>Perl入門ゼミ</blog_title>
  <blog_url>https://perlcodesample.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>Perl › 演算子 › ファイルテスト › here 最終アクセスから経過した日数を取得するには、ファイルテスト演算子「-A」を使用します。 -A $file サンプルプログラム ファイル演算子 -A を使って最終アクセスから経過した日数を取得するサンプルです。 use strict; use warnings; # 最終アクセス(読み取り)から経過した日数を取得する。 # -A $file print &quot;1: 最終アクセスから経過した日数を取得する。\n&quot;; my $file = &quot;a.txt&quot;; if (-e $file) { my $from_last_access = -A $fil…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20180511%2F1527079005&quot; title=&quot;最終アクセスから経過した日数を取得する - Perl入門ゼミ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-11 21:36:45</published>
  <title>最終アクセスから経過した日数を取得する</title>
  <type>rich</type>
  <url>https://perlcodesample.hatenadiary.jp/entry/20180511/1527079005</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
