enlightened perl organisation

enlightened |en'litnd|: adjective:
having or showing a rational, modern, and well-informed outlook

  

Planet Perl Iron Man

Daily archive for Friday, 18 January 2013

< Younger posts | Older posts >
Toby Inkster (tobyink): Ask not what your user can do for you...
In many scripts, we need to prompt the end user for information - this could be a prompt for a file name, a selection from a list of options, or an answer to a yes/no question. The traditional approach to...
Cosimo Streppone (cosimo): Net::Statsd::Server, a Perl port of Flickr/Etsy’s statsd
If you’re looking for a Perl client to connect to a statsd daemon, checkout Net::Statsd on CPAN, now at version 0.08. This post is about the server component of statsd. Tracking metrics: up to now The idea of statsd started in Flickr by Cal Hen [...]
Goro Fuji (GFUJI): 環境変数にいろいろ突っ込み過ぎると危険があぶない
$ export FOO=`perl -E 'say "." x 1_000_000'`
$ perl -v
bash: /usr/bin/activeperl: Argument list too long

簡易的にIPCをする方法として環境変数にJSONを突っ込んでサブプロセスから参照する、みたいなことはたまにすると思いますが、ちょっと大きなデータを突っ込むとサブプロセスを起動できなくなります。データサイズが未知の場合は使ってはいけない方法ですね。

Max sizeはカーネル [...]

< Younger posts | Older posts >