http://qs1969.pair.com?node_id=617621


in reply to Re: chop() and chomp()
in thread chop() and chomp()

Be careful with variables named $a and $b, they are special when used in conjunction with sort.

For example:

sort { $b cmp $a } @foo;
gives you an reverse alphabetical (ASCIIbetical really) sort on @foo.


TGI says moo