Beast wrote:
Hi,

I have some rather big chunk of data, returned from ldap server. The format is simple:
"Displa name" <[EMAIL PROTECTED]>

Simply displying data "as is" is simple, but how do I sorted by "display name"? pls note that "display name" contains space and might not unique so I can't put it on %hash.
many thanks.



Yes you can put it into a hash; just use quotes:

$hash{"$dname"} = $email;


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to