Skip to content

Commit

Permalink
add lib/App/Cppref.pm so that cppref can be installed using CPAN.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Oct 13, 2009
1 parent c51d41e commit 6c125c0
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for cppref.

0.06 Tue Oct 13 18:20:00 2009
- add lib/App/Cppref.pm so that cppref can be installed using CPAN.pm

0.05 Fri Oct 09 19:55:00 2009
- rewrite constructor and operator filenames (now can be specified like string::string or vector::operator)
- accept $ENV{CPPREF_DOCROOT} as document directory
Expand Down
4 changes: 2 additions & 2 deletions cppref
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use File::Basename;
use File::Find ();
use File::ShareDir ();

our $VERSION = '0.05';
our $VERSION = '0.06';

my $BROWSER = $ENV{BROWSER} || 'w3m';
my %BROWSER_OPTION_MAP = (
Expand Down Expand Up @@ -101,7 +101,7 @@ cppref - man-style access to cppreference.com documents (using w3m)
=head1 AUTHOR
Copyright (c) 2009 Kazuho Oku All rights reserved
Kazuho Oku
=head1 LICENSE
Expand Down
30 changes: 30 additions & 0 deletions lib/App/Cppref.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package App::Cppref;

1;
__END__
=head1 NAME
App::Cppref - man-style access to cppreference.com documents (using w3m)
=head1 DESCRIPTION
This is a dummy module so that cppref can be installed using cpan, like:
# cpan -i App::Cppref
Please refere to L<cppref> for how to use the application.
=head1 AUTHOR
Kazuho Oku
=head1 LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
The documents are from http://www.cppreference.com/ (under Creative Commons Attribution 3.0 license).
=cut

0 comments on commit 6c125c0

Please sign in to comment.