Article View: pl.comp.lang.perl
Article #52400sortowanie tablicy problem
From: karraso
Date: Fri, 17 Feb 2012 12:54
Date: Fri, 17 Feb 2012 12:54
10 lines
1051 bytes
1051 bytes
Witam Mam problem z tablicą, a mianowicie chciałbym zwracać wartość minimalną @tablica = qw(69 31 43 3 15 2 51 86 73 89 80 89 66); @tablica = sort @tablica; print "@tablica\n"; niestety wynik jest 15 2 3 31 43 51 66 69 73 80 86 89 89 Dlaczego dla tego przypadku jest bład? Pozdrawiam
Technical Details
Message-ID:
<1p7eq993nr555$.10svddsok2fup$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: karraso <karraso@gazeta.pl> Newsgroups: pl.comp.lang.perl Subject: sortowanie tablicy problem Date: Fri, 17 Feb 2012 13:54:33 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 10 Sender: karraso@gazeta.pl Message-ID: <1p7eq993nr555$.10svddsok2fup$.dlg@40tude.net> Reply-To: karraso@gazeta.pl NNTP-Posting-Host: dino.centertel.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1329483270 10668 194.9.223.25 (17 Feb 2012 12:54:30 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Fri, 17 Feb 2012 12:54:30 +0000 (UTC) X-User: karraso User-Agent: 40tude_Dialog/2.0.15.1pl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit