P is for Practical | |
PerlMonks |
Re: Re: Re: Including a 'test only' module in distributionby tachyon (Chancellor) |
on Sep 26, 2001 at 01:15 UTC ( [id://114688]=note: print w/replies, xml ) | Need Help?? |
You still don't need to use a module to do this. All you need is a package which can live quite happily in a script. Here is a HTML::Parser example - Filter inherits from Parser, including its new method as you can see. This works fine within a package structure so you don't need a separate module. It's a rather basic tag filter that only passes specified tags and their content if you were wondering.
cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|