Sorting a particular column in PERL

I have a file abc.txt which contains data in th following format

abc,23
hgfh,87
tweg,89
jdfjn,74

I want to sort on the basis of column (the second one). It should be numerical sort.

output should be

abc,23
jdfjn,74
hgfh,87
tweg,89

I know how to do it in unix. I need a PERL code

perl -e'
  print map $_->[0], 
    sort { 
      $a->[1] <=> $b->[1] 
      } map [ 
        $_, (split /,/)[1] 
        ], <>
  ' abc.txt

I don't know what you mean by "I know how to do it in unix",
but with sort it would be:

sort -t, -k2n abc.txt