Icon-Theme-Index-Parse

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

Icon-Theme-Index-Parse

Parse the index file for Freedesktop compatible icon themes.

More information on the standard this parses can be found at
the URL below.

http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

lib/Icon/Theme/Index/Parse.pm  view on Meta::CPAN

package Icon::Theme::Index::Parse;

use warnings;
use strict;
use Config::IniHash;

=head1 NAME

Icon::Theme::Index::Parse - Parse the index file for Freedesktop compatible icon themes.

=head1 VERSION

Version 0.0.1

=cut

our $VERSION = '0.0.1';


=head1 SYNOPSIS

Information for index file specification can be found at the URL below.

http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

    use Icon::Theme::Index::Parse;

    my $themeindex = Icon::Theme::Index::Parse->new_from_file('/usr/local/share/icons/hicolor/index.theme');
    if($themeindex->{error}){
        print "Error!\n";
    }

=head1 METHOD



( run in 0.344 second using v1.01-cache-2.11-cpan-299005ec8e3 )