Article View: pl.comp.tlumaczenia
Article #349Re: Hash (Perl)
From: Marcin Ledworowski
Date: Wed, 14 Jan 1998 08:27
Date: Wed, 14 Jan 1998 08:27
42 lines
1871 bytes
1871 bytes
Witam, Hash w Perlu rzeczywiscie hash==associative arrays ale definicja _hash table_ jest szersza niz hash w Perlu. -------------- "PERL 5: How to" , 2nd edition 1996 Waite.. 1.3 Asociative arrays Asociative arrays are indexed by string values instead of by an integer index value. (...) Associative arrays, unlike scalar arrays, do not have a sense of order. (...) You can list the contents of aan associative array using one of three functions: keys, values, each. (...) 1.4 References (...) Array reference You can create an array reference by using the backslash operator (\) on an existing array variable. (...) Hash references You can create a HASH REFERENCE by using the backslash (\) operator on an existing HASH VARIABLE. (...) Anonymous Hash References Anonymous HASH, OR ASSOCIATIVE ARRAY, references are created the same way anonymous array references are created. Pozdrowienia Marcin Ledworowski ------------------------------------------------ Marcin Ledworowski mailto:marcinl@top.pl TopNet sp. z o.o. z siedziba w Szczecinie O/BYDGOSZCZ tel. + 48 52 3457739 http://www.bydgoszcz.top.pl ul. M.Focha 20, Bydgoszcz, POLAND ========= JAK PO POLSKU to tylko CP 8859-2 !!! <<<--- ICQ UIN: 5671020 Ledwor http://www.byd.top.pl/~marcinl
Technical Details
Message-ID:
<199801140028.BAA04718@flop.byd.top.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!m2n-gate.okapi.usenet.plShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!m2n-gate.okapi.usenet.pl From: marcinl@flop.byd.top.pl (Marcin Ledworowski) Newsgroups: pl.comp.tlumaczenia Subject: Re: Hash (Perl) Message-ID: <199801140028.BAA04718@flop.byd.top.pl> Date: 14 Jan 98 08:27:15 GMT Sender: comp-tlumaczenia@mimuw.edu.pl Organization: Lista comp-tlumaczenia@mimuw.edu.pl Approved: comp-tlumaczenia@mimuw..edu..pl Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit