diff -r d4484a8ed66b -r 4bf7ef2fea2e docgen.pl
--- a/docgen.pl Thu Jul 28 02:48:21 2011 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,246 +0,0 @@
-#! /usr/bin/perl
-
-# Copyright 2009, 2011 Myhailo Danylenko
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-
-=head1
-
-Reads source and generates documentation, embedded in comments
-
-=head1 SYNTAX
-
-docgen.pl [B<-o> I] [B<-t> I] [B<-f> I] F [F] ...
-
-=cut
-
-use strict;
-use warnings;
-
-use Pod::Usage;
-use Getopt::Std;
-$Getopt::Std::STANDARD_HELP_VERSION = 1;
-
-our $VERSION = '0.0.3';
-our sub HELP_MESSAGE {
- pod2usage (-verbose => 2,
- -noperldoc => 1);
-}
-
-=head1 OPTIONS
-
-B<-o> F
-
-Output file (if not specified - stdout).
-
-B<-t> I
-
-Title for documentation html page
-
-B<-f> [I|I]
-
-Output type: html (default) or markdown.
-
-B<-p> I
-
-Prefix to search, by default c-like '///'
-
-B<-c> F
-
-Url to css file to include in html header.
-
-=cut
-
-our ( $opt_o, $opt_t, $opt_f, $opt_p, $opt_c )
- = ( undef, "Docs", 'html', '///', undef );
-getopts ( 'o:t:f:p:c:' );
-$opt_c = $opt_c ? qq(\n) : "";
-my $prefix_rx = quotemeta $opt_p;
-
-my %docs;
-my @tags;
-my $inside;
-my $harvest;
-my @values;
-
-foreach my $file (@ARGV) {
- if ( not open SOURCE, '<', $file ) {
- print STDERR "Cannot open $file\n";
- next;
- }
-
- my $chunk = 0;
-
- while (