use Zeal;
my $zeal = Zeal->new("/home/mgv/docsets/:/home/mgv/something.docset");
- # Add another docset
- $zeal->add('/home/mgv/somethingelse.docset');
- # Add a directory containing docsets
- $zeal->add('/home/mgv/moredocsets/');
- # Documentation for 'length' in all docsets
- my $doc = $zeal->query('length');
- # Documentation for all Test:: perl modules
- my @docs = $zeal->query('Test::%', 'perl');
- # Alternative syntax
- @docs = $zeal->query('perl:Test::%);
+ $zeal->add('/home/mgv/somethingelse.docset'); # Add another docset
+ $zeal->add('/home/mgv/moredocsets/'); # Add a directory containing docsets
+
+ my $doc = $zeal->query('length'); # Documentation for 'length' in all docsets
+ my @docs = $zeal->query('Test::%', 'perl'); # Documentation for all Test:: perl modules
+ @docs = $zeal->query('perl:Test::%); # Alternative syntax
=head1 DESCRIPTION