🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Co zwraca split?

#52395
From: Stachu 'Dozzie' K.
Date: Fri, 17 Feb 2012 09:39
14 lines
1565 bytes
On 2012-02-17, Wojtek Garbacz <wojtek.b.garbacz@gmail.com> wrote:
> Splits the string EXPR into a list of strings and returns that list.
> To czemu to nie działa?
> 	$A1 = Mktime(split(/[-: ]/));
> Podczas gdy to działa?
> 	($A,$B,$C,$D,$E,$F)=split(/[-: ]/);
> 	$A1 = Mktime($A,$B,$C,$D,$E,$F);

Zależy od tego, co robi funkcja Mktime() i na ile pól da się
podzielić $_.

-- 
Secunia non olet.
Stanislaw Klekot
Technical Details
Message-ID: <slrnjjs81a.j5o.dozzie@jarowit.net>
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!feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
References: <jhl6nc$qj7$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
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!feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: "Stachu 'Dozzie' K." <dozzie@go.eat.some.screws.spammer.invalid>
Newsgroups: pl.comp.lang.perl
Subject: Re: Co zwraca split?
Date: Fri, 17 Feb 2012 09:39:08 +0000 (UTC)
Organization: solani.org
Lines: 14
Message-ID: <slrnjjs81a.j5o.dozzie@jarowit.net>
References: <jhl6nc$qj7$1@speranza.aioe.org>
Mime-Version: 1.0
X-Trace: solani.org 1329471548 25916 eJwFwQkRADAIAzBLvO3sAAf+JSxJh2IYSERe3kCqiweRpvrCFDaPr2w2dqzpSNujnkv5BxsIEO4= (17 Feb 2012 09:39:08 GMT)
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Fri, 17 Feb 2012 09:39:08 +0000 (UTC)
User-Agent: slrn/pre0.9.9-111 (Linux)
X-User-ID: eJwFwYEBACAEBMCV0vMxTsj+I3RnoLCO0qg2Nt6o4qq4mlGRz2FC75Qndx5aD7Jrxd4YND4s9hGP
Cancel-Lock: sha1:V3eySt/mc0Aao4Z6FHMkUpIUp68=
X-NNTP-Posting-Host: eJwFwQkRwEAIBDBLFNgtyOEZ/Eu4BMaP8ztBx+GsCx4dHLteGE9qu0UWa6k57cnRFJTnaTwoEhEy
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit