in reply to Re^3: Preferred method of documentation? (One comment)
in thread Preferred method of documentation?
I liked the idea of wild.pm so much, that I wrote one:
And here is a little test script.
Uwe
Currently it uses Module::Find.package wild; $VERSION = 0.01; use strict; use Carp; use Module::Find; sub import { shift; foreach my $module (@_) { # at the moment we only support '...::*' if ($module =~ /(.+)::\*$/) { usesub $1; } else { croak "'$module' not supported, only '...::*'"; } } } 1;
And here is a little test script.
Have fun,#!/usr/bin/perl -w use strict; use Data::Dumper; BEGIN { print Dumper(\%INC); } use wild 'HTML::*'; print Dumper(\%INC);
Uwe
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Preferred method of documentation? (One comment)
by BrowserUk (Patriarch) on Oct 08, 2004 at 22:26 UTC |
In Section
Meditations