- バックアップ一覧
- 現在との差分 を表示
- ソース を表示
- バックアップ を表示
- Perl/ファイルシステム/ファイル読み込み へ行く。
- 1 (2011-06-11 (土) 14:21:01)
- 追加された行はこの色です。
- 削除された行はこの色です。
* ファイルの内容をすべて読み込み変数に格納する - Path::Class [#b8077d1c] use Path::Class qw/file/; my $contents = file('/homo/taro/foo.txt')->slurp(iomode => '<:encoding(euc-jp)'); http://search.cpan.org/perldoc?Path::Class::File