🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #52503

Re: Sortowanie wg długości

#52503
From: Tomek Luzak
Date: Mon, 04 Feb 2013 11:02
4 lines
1691 bytes
np w taki sposób, tak?
@posortowane = sort {length $a <=> length $b} @4bloki;

Nie rozumiem tylko co definiuję przez $a i $b oraz tego, że chyba nie posortuje to wszystkich 4 bloków?
Technical Details
Message-ID: <085f33e0-dafa-40e6-b1f9-61a4e323150f@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news2.euro.net!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!p13no11156471qai.0!news-out.google.com!k2ni4456qap.0!nntp.google.com!p13no9463983qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <846231b3-c546-4b1b-a40b-8f3200f56014@googlegroups.com> <slrnkgv44h.1ta.dozzie@jarowit.net>

Show Full Headers
Complete Article Headers
X-Received: by 10.224.206.195 with SMTP id fv3mr11290540qab.1.1359975750274;        Mon, 04 Feb 2013 03:02:30 -0800 (PST)
X-Received: by 10.49.116.135 with SMTP id jw7mr1687553qeb.10.1359975750216; Mon, 04 Feb 2013 03:02:30 -0800 (PST)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news2.euro.net!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!p13no11156471qai.0!news-out.google.com!k2ni4456qap.0!nntp.google.com!p13no9463983qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.perl
Date: Mon, 4 Feb 2013 03:02:30 -0800 (PST)
In-Reply-To: <slrnkgv44h.1ta.dozzie@jarowit.net>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=79.163.52.75; posting-account=8nDmlQoAAABceGiimyQhVSBq0vkyPd1H
NNTP-Posting-Host: 79.163.52.75
References: <846231b3-c546-4b1b-a40b-8f3200f56014@googlegroups.com> <slrnkgv44h.1ta.dozzie@jarowit.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <085f33e0-dafa-40e6-b1f9-61a4e323150f@googlegroups.com>
Subject: Re: Sortowanie wg długości
From: Tomek Luzak <whereverroadgoes@gmail.com>
Injection-Date: Mon, 04 Feb 2013 11:02:30 +0000
X-Received-Bytes: 1399
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit