develooper Front page | perl.fwp | Postings from February 2005

Re: "Secret" operators

Thread Previous | Thread Next
From:
Yitzchak Scott-Thoennes
Date:
February 3, 2005 12:07
Subject:
Re: "Secret" operators
Message ID:
20050203200730.GC3340@efn.org
On Tue, Feb 01, 2005 at 09:02:56PM -0000, McGlinchy, Alistair wrote:
> Unfortunately -+- is bugged [*], but I'll leave these as gotcha's for
> your production code. :-)
> 
> [*] You might want to consider: print    -+- '-2B'      x 5;  # Bug?

No.  perlop say: if the string starts with a plus or minus, a string
starting with the opposite sign is returned.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About