Thank you very much Philip. I have answered to Perl's private address, for my English is not good enough to explain this bit of code so perfectly as you did. JB -----Original Message----- From: Philip Newton [mailto:[EMAIL PROTECTED]] >Perl wrote: >> Very clean and short code! Would you consider explaining how >> this line works? Especially how does it work on the second >> and third iterations.... >> >> sort keys %{ { map { $_ => 1 } <FIN> } } ; >Read it from the inside out: > <FIN> >This bit is in list context (due to the map), so it returns a list >consisting of each line from the file as a separate element .... _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
