| ファイル:: attributes. File :: attributesは、ファイルメタデータを操作するためのPerlモジュールです。 |
今すぐダウンロード |
ファイル:: attributes. ランキングとまとめ
- ライセンス:
- Perl Artistic License
- 出版社のWebサイト:
- http://search.cpan.org/jrockway/
ファイル:: attributes. タグ
ファイル:: attributes. 説明
File :: attributesは、ファイルメタデータを操作するためのPerlモジュールです。 File :: attributesは、ファイルを操作するためのPerlモジュールです..Synopsis file :: attributes qw(set_attribute list_attributes get_all_attributes); My $ file = 'foo.txt'; set_attribute($ file、type => 'text / plain'); set_attribute($ file、encoding => 'utf8')。 My @ATTRIBUTES = list_attributes($ file); #@ATTRIBUTES = QW(タイプエンコード)%attributes = get_attributes($ file); #$属性{type}は 'text / plain'#$属性になります{foo}はundefinedです.file :: attributesは、ファイル:: attributes階層のモジュールの周囲のラッパーです。このモジュールを直接使用する場合(前述の決算のいずれかではなく)、基礎となるFileSystem.Module :: Pluggableを使用してファイルから継承するすべてのファイル:: Modulesを見つけるために使用されます。 :: attributes :: Base、およびシステムに適用されます。 1つが見つかったら、それを使います。そうでない場合は、ファイル:: attributes :: simpleが使用され、このモジュールにバンドルされていて、バージョン0.04のすべてのWorks.ASでは、プラグインはシステムごとに設定されていません。つまり、ファイル:: attributes ::拡張インストールが可能な場合は、アプリケーションが使用可能な場合は、拡張属性が使用されていますが、拡張属性が機能しないファイルで使用されます(たとえば、Linuxマシン上のFAT Filesytem)。 。拡張属性が利用可能であっても既存の単純な属性は読み込まれますが、書き込みは拡張属性のみに影響します。これは、古いデータを失うことなく、いつでもより良い属性プラグインに切り替えることができます。要件: ・Perl
ファイル:: attributes. 関連ソフトウェア