Perl Advent Calenderなんと2024年になってもやってます。本当にめでたいですね! さて、掲題のString::Secretは2020年にリリースしたっきりのCPANモジュールですが、(たぶん)そういえば紹介してなかったなと思ったのでこの機会に紹介しようと思います。完全に忘れていてネタがなかったんです。 SYNOPSIS なにしてくれるやつなのよということでSYNOPSIS。 use String::Secret; use String::Compare::ConstantTime; use JSON::PP (); my $secret = String::Secret->new('mysecret'); # safe secret for logging MyLogger->warn("invalid secret: $secret"); # oops! but th
Many years ago, I wrote a book called Data Munging with Perl. People were kind enough to say nice things about it. A few people bought copies. I made a bit of money. Recently I re-read it. I thought that some of it was still pretty good. There were some bits, particularly in the early chapters, that talked about general principles that are still as relevant as they were when the book was published
こんにちは、id:rokuokunです。 Perlとの出会いは突然やってきます。 いつ求められてもサッと対応できるように、いち早くPerlを書けるようになっておきましょう。 perl --version 今回入門するにあたり使用するバージョンは Perl 5.40.0 です。 インストール作業については割愛しますが、困ったらplenvを使っておけばいいと思います。 ❯ perl --version This is perl 5, version 40, subversion 0 (v5.40.0) built for darwin-2level Copyright 1987-2024, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Pu
REPL便利ですよね。 Webアプリケーションを動かしながらデバッグだったり 小さなクラス単位で開発・テストを進める際などにも 大変有用です。大好きです。 今回はもっと活用するための、ささやかなtipsをご紹介します。 古典的な方法 perl debugger -dオプションでデバッグモードで起動するアレです。 見やすくないので、REPLのために積極的に利用するシーンは無いと思いますが、 どんなに古いperlでも、何もインストールせずにデフォルトのまま利用できるのが利点ですかね。 perl4でも使えたはず。 簡単な計算機代わりに利用する方法として、 イディオムとして perl -de0 で起動して、 xコマンドで式を評価した結果を展開表示する、 というのがあります % perl -de0 Loading DB routines from perl5db.pl version 1.44 Ed
About At our data science consultancy we love Perl, and think it’s the ideal language for data wrangling. Unfortunately, it has not kept up with other dynamic languages in terms of performance. VelociPerl (or vPerl), a speed and safety oriented fork of Perl is our answer to that. VelociPerl brings the venerable language up to the performance needed for data analysis workloads in the thundering 202
「Perl」に脆弱性が明らかとなった。アップデートにて修正されている。 「同5.30.0」以降において、プロパティ名の処理に問題があり、未割り当てのメモリ領域に書き込むおそれがある脆弱性「CVE-2023-47100」が明らかとなったもの。 米国立標準技術研究所(NIST)の脆弱性データベース「NVD」では、共通脆弱性評価システム「CVSSv3.1」のベーススコアを「9.8」と評価。重要度を「クリティカル(Critical)」とレーティングしている。 ソースリポジトリにおいてパッチが提供されているほか、現地時間11月29日にリリースされた「同5.38.2」にて修正されている。 (Security NEXT - 2023/12/15 ) ツイート
This section is an ever-growing online textbook, from which you can learn the basics of Perl, or some nifty stuff you haven't seen before. Should I post here? While you can post directly to the Tutorials section, this has certain drawbacks. A generally better approach is to follow this procedure: Write up your draft tutorial and put it in your scratchpad; broadcast requests for comments in the cha
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く