Perl question

Kekes Stamatis skekes at internet.gr
Fri May 11 19:36:01 EEST 2001


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'}

alla me kapoio loop an ayto ginetai.

George Daflidis-Kotsis wrote:

> On Fri, May 11, 2001 at 06:22:05PM +0300, Kekes Stamatis wrote:
>
> > Esto oti se kapoio perl script exo ena monodiastato pinaka @x = ( 'a',
> > 'b', 'c', ... 'apeiro' ). Yparxei tropos ayto na metatrapei se hash ??
>
> Apo oso 3erw oxi me sugkekrimeno tropo giati enw sta arrays (n' stous
> monodiastatous pinakes opws tous onomases) exeis gia keys panta 0,1,2 klp
> sta hashses exeis zeugh key-valus, opou to key mporei na einai oti 8eleis esu

>
> Ama breis tropo na kaneis authn thn antistoixia, tote nai.
>
> Filika.
>
> --
> [george daflidis-kotsis - systems admin,web/e-commerce - gdk at demon.net]
> ["I grow old always learning" - "I know one thing that I know nothing"]
>
> --
> linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list