http://search.cpan.org/dist/PDF-API2/ PDFファイルを生成する必要があったので、cpanを眺めていたら、PDF::API2というモジュールがありました。 これまでPDFファイルの自動生成というと、pdfjやpdflibの名前を聞いたことがありますが、PDF::API2でも十分に使えるように思えます。 今回は、予めprimoPDFで作成(印刷?)した帳票上(というより背景として?)に、文字や写真を追加してみました。 #!/usr/local/bin/perl use strict; use warnings; use encoding qw/cp932/; #cp932以外では機種依存文字がpdfに出力されない? use PDF::API2; use PDF::API2::Resource::CIDFont::CJKFont; main(); sub m
PDF::API2 - PDF 生成及び更新の次世代 API PDF::API2 - The Next Generation API for creating and modifing PDFs. 名前 NAME PDF::API2 - PDF 生成及び更新の次世代 API PDF::API2 - The Next Generation API for creating and modifing PDFs. 概要 SYNOPSIS use PDF::API2; $pdf = PDF::API2->new; $pdf = PDF::API2->open('some.pdf'); $page = $pdf->page; $page = $pdf->openpage($pagenum); $img = $pdf->image('some.jpg'); $font = $pdf->corefon
HTML::AutoPagerize を使ってみた。 コードは HTML::AutoPagerize - Utility to load AutoPagerize SITEINFO stuff - metacpan.org からほぼコピペ。 autopagerize_tumblr.pl #!/usr/bin/perl use HTML::AutoPagerize; use LWP::Simple; my $autopager = HTML::AutoPagerize->new; $autopager->add_site( url => 'http://.+.tumblr.com/', nextLink => '//div[@id="content" or @id="container"]/div[last()]/a[last()]', pageElement => '//div[@id="
This is Perl module HTML::AutoPagerize. INSTALLATION HTML::AutoPagerize installation is straightforward. If your CPAN shell is set up, you should just be able to do % cpan HTML::AutoPagerize Download it, unpack it, then build it as per the usual: % perl Makefile.PL % make && make test Then install it: % make install DOCUMENTATION HTML::AutoPagerize documentation is available as in POD. So you can
Current Release: XML::Xerces 2.7.0-0 XML::Xerces is the Perl API to the Apache project's Xerces XML parser. It is implemented using the Xerces C++ API, and it provides access to most of the C++ API from Perl. Because it is based on Xerces-C, XML::Xerces provides a validating XML parser that makes it easy to give your application the ability to read and write XML data. Classes are provided for pars
How I completed a PhD dissertation in 90 days and stayed alive Writing a PhD dissertation is very difficult, and any student who ever did this, will tell you that it will be the most intense project that you will ever work on. With this being said, you can understand why completing this project in only 90 this is close to impossible, and why it takes such an incredible effort to do it. How did I d
名前¶ XML::RSS - RSSファイルを作成し更新します 概要¶ # RSS 1.0ファイル(http://purl.org/rss/1.0/)を作成します use XML::RSS; my $rss = new XML::RSS (version => '1.0'); $rss->channel( title => "freshmeat.net", link => "http://freshmeat.net", description => "the one-stop-shop for all your Linux software needs", dc => { date => '2000-08-23T07:00+00:00', subject => "Linux Software", creator => 'scoop@freshmeat.net', publisher =>
Today I've been thinking about what to talk in YAPC::EU (and OSCON if they're short of Perl talks, I'm not sure), and came up with a few hours of hacking with web-content scraping module using Domain Specific Languages. 使ってみたよ! #!/usr/local/bin/perl use strict; use warnings; use FindBin::libs; use URI; use Web::Scraper; use Encode; use List::MoreUtils qw/uniq/; my $links = scraper { process 'a.key
2007年04月28日02:30 カテゴリLightweight Languages CPAN - URI::Escape::XS Released! URI-Escape-XS を Release したのでお知らせします。 on CPAN (coming soon) URI-Escape-XS-0.01.tar.gz なぜ車輪を再発明したかといえば、今ある車輪のころがりがよくなかったから。 URI::Escapeへの不満は二つあって、一つは速度が不十分だったこと。LWPなどと組み合わせて使う場合は、正規表現ベースの変換でも、他のタスクの方がずっと重いので充分速いのですが、ログの解析する時などに利用すると、ずいぶんと遅く感じます。このあたりはある作業をしていて、気になってProfileしてみてはじめて気がつきました。 もう一つは、%uHHHHの対応。一応にぽたん作のURI::Escape:
本ページでは,perlでどのようにして大規模なデータを保存するかついて 説明します.主にスタンドアロンで動くもの (クライアント<->サーバ型 でない,いわゆる組込み型) について紹介したいと思います. Menu Berkeley DB BerkeleyDB DB_File SDBM SDBM_File GDBM GDBM_File CDB CDB_File QDBM Depot Curia Villa TDB TDB_File SQLight DBD::SQLite SUFFIX ARRAY SUFARY SARY 複雑なデータ構造 Data::Dumper Storable MLDBM いろいろな比較 ファイルサイズ Benchmark Link サンプルデータについて Berkeley DB Berkeley DBは,組み込み向けデータベースです.通常データベースという とOracl
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く