Sunday, May 19, 2013
Perl 에서 hash 를 sort 하는 법
여기 참조 : Perl 에서 hash 를 print 하는 법
sort 할때의 비교문
integer 로서 비교할 때는 <=> 를 사용하고
string 으로서 비교할 때는 cmp 를 사용한다.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment