<?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 Perlでコマンドライン引数を処理する方法を解説します。コマンドライン引数とは、プログラムを実行するときに、プログラム名に加えて空白区切りで指定できる引数のことです。たとえば「test.pl」を実行するときに「1」「3」「5」という値を指定したい場合は、次のようにプログラムを呼び出すことができます。 perl test.pl 1 3 5 上記の例は数字ですがファイル名などの文字列でも大丈夫です。 perl test.pl a.txt b.txt コマンドライン引数内で空白を使いたい場合 コマンドライン引数の区切りは空白です。空白を使いたい場合は、クォートを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080108%2F1328658496&quot; title=&quot;コマンドライン引数の扱い @ARGV - 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>2008-01-08 08:48:16</published>
  <title>コマンドライン引数の扱い @ARGV</title>
  <type>rich</type>
  <url>https://perlcodesample.hatenadiary.jp/entry/20080108/1328658496</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
