ソースコードを追っかけるときにコールグラフが分かっていると便利です。 時間が十分あるのであれば、自分でじっくり追いかけるというのもありかと 思うんですけど、事前にコールフローが分かっている方が、確実に追いかけることができます。 以前作成した Google URL Shortener APIを使う - syohex’s diary のコールグラフを見てみようと思います。 準備 KCachegrindをインストールします。Qtが使われているので、Ubuntuなんかの GNOMEが使用されているディストリだと大量のライブラリが入りますけど、 そこは我慢ということでインストールしてください。 % sudo aptitude install kcachegrind当たり前ですが、Devel::NYTProfもインストールします。 % cpanm Devel::NYTProf プロファイル結果の出力
概要 perl - Perl 5 言語インタプリタ perlintro - Perl の概要 perlrun - perl コマンドの実行とオプションについて チュートリアル perlreftut - Perlのリファレンスの短いインストラクション perldsc - Perl のデータ構造クックブック perllol - Perl で配列の配列を操作する perlrequick - Perl 正規表現のクイックスタート perlretut - Perl の正規表現のチュートリアル perlootut - Perl の初心者向けオブジェクト指向チュートリアル perlperf - Perl の性能と最適化のテクニック perlstyle - Perl スタイルガイド perlcheat - perl チートシート perltrap - 不注意による Perl の罠 perldebtut -
Navigation index next | Teng-Doc 0.01 documentation » 実践Teng¶ Contents: この文書について この文書は何ではないか? この文書で説明すること 表記について Tengの特徴 Tengとは クイックスタート はじめに 環境の準備 DBの作成 テーブルの作成 データの挿入 クエリの確認 データの検索 データの削除 データの変更 まとめ やってみよう 逆引きレシピ 逆引きレシピについて 一般編 Rowオブジェクト編 SQL編 Indices and tables¶ Index Module Index Search Page Table Of Contents 実践Teng Indices and tables Next topic この文書について This Page Show Source Quick search Ente
このサイトは Perl の公式ドキュメントを日本語翻訳したものを表示するサイトです。翻訳データは、perldocjp project からとってきたものです。 類似のものに perldoc.jp がありますが、それよりもみやすくなるようにがんばってみました。 ドキュメント一覧 概要(overview) perl - Perl の概要 perlrun - perl コマンドの実行とオプションについて チュートリアル perldebtut - デバッグのチュートリアル perlopentut - Perl でいろんなものを開くためのチュートリアル perlpacktut - pack と unpack のチュートリアル perlreftut - Mark によるリファレンスに関するとても短いチュートリアル perlretut - Perl の正規表現のチュートリアル perlt
You write code for a living, and your inherit a legacy program written in Perl. You can program in your native language in your sleep. But you don't know Perl at all, or you've only dabbled with it. Your deadline doesn't give you enough time to rewrite the legacy program in your native language, but it needs new features. You need to learn Perl, and you need to learn it NOW. "Impatient Perl" was w
What does this book cover? Installing Perl on Windows and UNIX Making use of online Perl resources like CPAN First principles in programming and the Perl syntax Working with files and databases Writing web pages in Perl Using Perl as an object-oriented language Book overview Perl is a well-established programming language that has been developed through the time and effort of countless free softwa
José and Bruno wrote: Our proposal listed as deliverables documentation detailing: Installation CookBook: Using Perlbal as a reverse proxy Using Perlbal as a load balancer Using Perlbal as a web server Managing and configuring Perlbal on-the-fly Writing Plugins Perlbal's Architecture at a glance We have documented: Installation Configuring Perlbal as a Reverse Proxy Configuring Perlbal as a Web S
flip-flop 演算子とは、スカラーコンテキストで使用される範囲演算子(Range Operator) のことです。一般にはドット (.) 2 個で構成される演算子として認識されています。 この演算子は 2 つのオペランドを取ります。下記の例では、3 と 5 をオペランドに取っています。 perl -nle 'print if 3 .. 5' bigfile.txt 上記は、bigfile.txt を 1 行ずつ読みこんでいくのですが、bigfile.txt が 1 ~ 2 行目のうちは if 文は false を返します。3 行目になると if 文は true になり、if 文が true として評価されるこの状態は 5 行目まで続きます。そして 6 行目に達して以後は、ずっと false として評価されます。 ここではわざと「状態」という言葉を使いましたが、この演算子は「状態」を持
The Effective Perler Effective Perl Programming – write better, more idiomatic Perl This is a chapter in Perl New Features, a book from Perl School that you can buy on LeanPub or Amazon. Your support helps me to produce more content. Perl v5.36 automatically turns on warnings when you specify the minimum Perl version with use: use v5.36; # use warnings for free Since this form has been turning on
序文 もしもプログラミング言語が宗教だったら……(全訳版)[絵文録ことのは]2008/12/21 によると、ブードゥー教徒らしい dankogai です。 ブードゥー教徒らしく、「上司があなたに金曜夜21時に緊急の仕事を命ずるときにしばしば使われる」呪文をここでまとめておくことにします。 基本中の基本 コマンドとしてのperlは、スイッチがない場合、引数はスクリプト名として扱われます。 % cat hello.pl print "Hello, world!\n"; % perl hello.pl Hello, world! % コマンドライン中の文字列をスクリプトとして解釈させるには、-eを使います。 % perl -e'print "Hello, World!\n"' Hello, world! % ちなみに、perlとコマンド名だけで起動すると、標準入力をスクリプトとして返します。 %
staticperl - perl, libc, 100 modules, all in one standalone 500kb file staticperl help # print the embedded documentation staticperl fetch # fetch and unpack perl sources staticperl configure # fetch and then configure perl staticperl build # configure and then build perl staticperl install # build and then install perl staticperl clean # clean most intermediate files (restart at configure) static
SQL::Abstract を使い倒す - JPerl Advent Calendar 2009 Perl に関するちょっとした Tips をのっけてみるよ。ちゃんと続くかな? 今更、携帯小説にハマってる id:ZIGOROu です。モバゲーのオンライン3って小説が面白いですよ! 今日は SQL::Abstract を使い倒すと言うネタで行きます。 まず超基本編 簡単な SQL 文の生成から始めましょう。 use strict; use warnings; use Data::Dump qw(dump); use SQL::Abstract; my $s = SQL::Abstract->new; my ($stmt, @bind) = $s->select( "activity", # tables [qw/id title sender created_on/], # columns
Perlには非常に多くのフレームワークがあります。非常に大きいものにはCatalystやJifty、小さいものにはMojolicious、CGI::Application、HTTP::Engine、Dancerなどがあります。今Perlではフルスタックのフレームワークを使うよりも、小さいものを組み合わせてWebアプリケーションをつくっていくほうが流行っていると思うので、「小さいものを組み合わせ」ながらMVCで開発できるような環境を考えてみました。 今回はWAFとしてMojoliciousを、テンプレートエンジンとしてText::Xslateを、O/RマッパーとしてDBIx::Skinnyを用いて、MVCでWebアプリケーションを作る方法について順を追って解説します。 それぞれの簡単な説明 Mojoliciousとは SimpleなMVCのWebフレームワーク。軽いプロジェクトならMojol
What is Modern Perl? -------------------- Perl is a popular, powerful, and widely used programming language. Over its twenty year lifespan, it's powered millions of systems worldwide, moving trillions of dollars. More importantly, it's helped countless people get their work done effectively. The Perl community has a reputation for clever solutions -- and a reputation for institutional knowledge th
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く