rezel's blog

プログラミング

プログラミング

Perl – How to handle command-line arguments powerfully and easily

By using the following method, you can handle various string arguments regardless of their order. #!/usr/bin/perl # samp...
2024.08.17
プログラミング
プログラミング

【Perl】コマンドライン引数を、強力かつ簡単に扱う方法

つぎの方法を使うと、引数の順番も関係なく、様々な文字列の引数を扱うことができます。 #!/usr/bin/perl # sample.pl map { if (/^-a$/) { print $_, "\n"; } elsif (/^--(...
2024.08.17
プログラミング
ホーム
プログラミング

最近の投稿

  • Perl – How to handle command-line arguments powerfully and easily
  • 【Perl】コマンドライン引数を、強力かつ簡単に扱う方法

最近のコメント

表示できるコメントはありません。

アーカイブ

  • 2024年8月

カテゴリー

  • プログラミング
rezel's blog
© 2024 rezel's blog.
  • ホーム
  • トップ