NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Incomplete examples (Score:2)
This is not working with incomplete sample code, is it? Code that does not include the necessary (but trivial)
use Foo::Barlines, or object instantiation (Foo::Bar->new)?Just because code is incomplete, doesn't mean that it's wrong.
And adding redundant code is not making examples clearer.
Reply to This
Re: (Score:2)
It's certainly not perfect for all things and that's unfortunate. I don't know of any other way around that. I've thought of various tricks (s/use/require/), but that breaks other things. In short, it won't work for everyone, but if it does, it's a nice check.