Article View: pl.comp.lang.perl
Article #39795hash w hashu i jeszcze tablcia skalarów
From: Zbyszek Malec
Date: Wed, 20 Oct 2004 19:54
Date: Wed, 20 Oct 2004 19:54
12 lines
1515 bytes
1515 bytes
Hej
Mam takie pytanie. Czy da się jako wartość hasha przechowywać drugiego
hasha któy z kolei przechowuje tablicę skalarów? Na necie znajduję
sprzeczne dane.
Próbowałem zrobić coś takiego ale dostaję errora że powinienem zrobić
$locations zamiast @locations (niby logiczne o ile hash może
przechowywać jedynie skalary)
@locations = @words{$word}{$fileName};
--
Zbyszek Malec Ustronie 104 gg: 2756100
Technical Details
Message-ID:
<1098302099.409440@vax.ustronie.pw.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!mimuw.edu.pl!news.mimuw.edu.pl!uw.edu.pl!news.pw.edu.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!mimuw.edu.pl!news.mimuw.edu.pl!uw.edu.pl!news.pw.edu.pl!not-for-mail From: "Zbyszek Malec" <zbyszekto@tlen.pl> Newsgroups: pl.comp.lang.perl Subject: hash w hashu i jeszcze tablcia skalarów Date: Wed, 20 Oct 2004 21:54:21 +0200 Organization: Warsaw University of Technology - Student Hostel "Ustronie" Lines: 13 Message-ID: <1098302099.409440@vax.ustronie.pw.edu.pl> NNTP-Posting-Host: vax.ustronie.pw.edu.pl Mime-Version: 1.0 X-Trace: julia.coi.pw.edu.pl 1098302100 30139 10.3.0.1 (20 Oct 2004 19:55:00 GMT) X-Complaints-To: usenet@pw.edu.pl NNTP-Posting-Date: Wed, 20 Oct 2004 19:55:00 +0000 (UTC) X-AuthUser: zbysio X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Priority: 3 X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MSMail-Priority: Normal Cache-Post-Path: vax.ustronie.pw.edu.pl!127-0-0-1@localhost Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit