Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Preferred method of documentation? (One comment)

by uwevoelker (Pilgrim)
on Oct 08, 2004 at 20:23 UTC ( #397769=note: print w/replies, xml ) Need Help??


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:
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;
Currently it uses Module::Find.
And here is a little test script.
#!/usr/bin/perl -w use strict; use Data::Dumper; BEGIN { print Dumper(\%INC); } use wild 'HTML::*'; print Dumper(\%INC);
Have fun,
Uwe

Replies are listed 'Best First'.
Re^5: Preferred method of documentation? (One comment)
by BrowserUk (Pope) on Oct 08, 2004 at 22:26 UTC

    Neat++;

    Have fun,

    I think I will :)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://397769]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2020-11-23 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?