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:
gives you an reverse alphabetical (ASCIIbetical really) sort on @foo.sort { $b cmp $a } @foo;
TGI says moo
In Section
Tutorials