On Wed, Jun 27, 2001 at 10:55:54AM -0400, Jeff 'japhy' Pinyan ([EMAIL PROTECTED]) 
spew-ed forth:
> On Jun 27, Nick Transier said:
> 
> The perlop documentation says that ++ is magical for strings, but that --
> isn't.  The reason is because there's not a clear-cut way of defining it.
> 
> What is 'a'--? 

Is that the reason? I would think --'a' would be z, but that is my own
internal logic :)

But, why is --'a' (or any a-zA-Z) -1? Why doesn't, at least, it evaluate
'a' to true (1) and --'a' = 0 (or undef, since I don't know why it
should return a true value)? I guess there must be a reason, but it
isn't documented from what I can see.

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
"I know the human being and fish can coexist peacefully."
        -- G.W. Bush, Saginaw, MI 09/29/2000

Reply via email to