[OT] Perl woes

Stray Taoist mwk at straytoaster.co.uk
Wed Jan 28 11:24:47 GMT 2009

On Wed, Jan 28, 2009 at 10:56:41AM -0000, Jonathan Kimmitt wrote:
> 	It would be a trivial matter to return an error or warning if ==
> is used for items which aren't numbers
> 	And this is in a language which is praised for its powerful
> string handling !

Um, it does throw a warning...

perl -Mwarnings -e 'my $a="a"; my $b="b"; warn "yeah, baby\n" if $a == $b'

You get what you ask for, I guess. Have rope, will hang self.


http://weblog.straytoaster.co.uk/ # Gotta have a weblog. It is the law.
http://www.flickr.com/photos/straytoaster # All the cool kids have photostreams
http://www.myspace.com/thirtyspokes # talent not included

More information about the london.pm mailing list