in reply to Implicit split to @_
Just use the length function:
my $sa = length( $a ); my $sb = length( $b ); [download]
the lowliest monk