Perl question

Tassos Bassoukos abas at aix.meng.auth.gr
Sat May 12 20:42:01 EEST 2001


On Fri, 11 May 2001, Kekes Stamatis wrote:

> gia na ta aplopoiiso ta pragmata thelo oti timi tha exei to to key na exei idia
> timi me ti value.
>  diladi :
>  %y{'a'=>'a'}

Tsk tsk tsk...

Estw oti @x o pinakas pou exei tis times kai to hash %y 8es na exei to
apotelesma:
  %y=(map {$_ => $_} @x);

HTH,
Tassos

-- 
Bassoukos Tassos   +30 31 996011 / +30 93 7109954       IT Generalist

When you design user interfaces, it's a good idea to keep two principles in mind:
1.Users don't have the manual, and if they did, they wouldn't read it.
2.In fact, users can't read anything, and if they could, they wouldn't want to.




More information about the Linux-greek-users mailing list