X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FZeal.pm;h=c943e51fb1381651fa8aeb206ae4f0110bc422b7;hb=refs%2Ftags%2F0.000_002;hp=8fab14a733d2c7c25f16e8692196cdc64ed5d9fa;hpb=0c1fd452784d83601cfe34a2cef195fe03190625;p=zeal.git diff --git a/lib/Zeal.pm b/lib/Zeal.pm index 8fab14a..c943e51 100644 --- a/lib/Zeal.pm +++ b/lib/Zeal.pm @@ -5,7 +5,7 @@ use strict; use warnings; use re '/s'; -our $VERSION = '0.000_001'; +our $VERSION = '0.000_002'; use File::Spec::Functions qw/catfile/; @@ -64,16 +64,12 @@ Zeal - Read and query Dash/Zeal docsets 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