[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Re: [Silly Fun WP] Perl error messages



On Tue, Jul 13, 1999 at 01:42:19PM +0000, John Carter wrote:
> Maybe the first challenge should be to trigger 
> 
> "%s found where operator expected"
> 
> With %s replaced by "idiot".

%s in that error message is replaced with the type of term, not with the
term itself, i.e.:

$a = "foo"
"idiot"

String found where operator expected at - line 2, near ""idiot""
^^^^^^                                                  ^^^^^^^

Ronald

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe