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.
hacking in a nicer error message? (Score:1)
You really like to goad me to put my "evil hat" on. This is a crude example to show the concept -- it would need to be a bit more helpful and a bit more robust for real use.
Here's an example:
Could be done via PERL5OPT or perhaps the site-customization file.
-- dagolden [dagolden.com]
Reply to This
Re: (Score:2)
Also, maybe try to trap the file and line number where they tried to require the module?
Re: (Score:2)
Nice first hack though. Seriously.
Re: (Score:1)