source: mp3-find/trunk/mkreadme @ 27

Last change on this file since 27 was 19, checked in by peter, 19 years ago
  • added "status_callback" option to the constructor for MP3::Find::DB
  • default status callback just prints the status code and the file name to STDERR as before
  • using an empty status_callback in t/03-db.t (status_callback => sub {}) to keep the test output more legible
  • updated docs in Find.pm
  • mkreadme now prints a blank line between the file header and the DESCRIPION section
  • generated new README file
File size: 493 bytes
Line 
1#!/bin/sh
2perl -I./lib -M$1 -e"\$ver = '$1 version ' . $1->VERSION; print qq[\$ver\\n] . '=' x length(\$ver) . qq[\\n\\n]"
3
4PM_FILE=./lib/`echo $1 | sed 's/::/\//g'`.pm
5
6podselect -section 'DESCRIPTION/!.' $PM_FILE | pod2text
7
8echo 'INSTALL'
9echo '    To install this module type the following:'
10echo
11echo '        perl Makefile.PL'
12echo '        make'
13echo '        make test'
14echo '        make install'
15echo
16
17podselect -section 'SYNOPSIS|REQUIRES|COPYRIGHT AND LICENSE' $PM_FILE | pod2text
Note: See TracBrowser for help on using the repository browser.