in reply to Re: Re: Re: New module makes having Microsoft-ish user friendly error messages very easy
in thread New module makes having Microsoft-ish user friendly error messages very easy
No, it does not work outside of double quotes. This is documented.
The actual reason for this is that it is very hard to parse Perl code. I could have used code => sub { s/\$!/'Unknown error'/g }, but guess what that would have done with print q!$$!;.
I worked around this by making a feature out of this lack of feature. To learn about the details, please read the documentation. You have approximately 70 hours left before it is deleted from CPAN.
Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: New module makes having Microsoft-ish user friendly error messages very easy
by diotalevi (Canon) on Apr 03, 2003 at 00:48 UTC | |
by Juerd (Abbot) on Apr 03, 2003 at 06:55 UTC |