Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
reverse « Hash « Perl
Perl
Hash
reverse
1.
Reverse a hash
2.
Reverse a hash: use key as the value, and value as the key
3.
Reverse the hash and use function each to get each pair
4.
Reverse the key and value