🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #2003

Re: Perl & threads

#2003
From: Nitro
Date: Tue, 19 Oct 2004 16:58
26 lines
1713 bytes
On Tue, 19 Oct 2004 16:55:52 +0000, John Bokma wrote:

> Nitro wrote:
> 
>> On Mon, 18 Oct 2004 22:47:36 +0000, John Bokma wrote:
> 
>> Wat bedoel je hiermee?
>>> waarom gebruik je () (prototyping) ?
> 
> Bij Perl gebruik je normaal geen () achter de sub naam, alleen als je een 
> prototype wilt opgeven, wat normaal zelden nodig is.
> 
> dus:
> 
> sub naam {
> 
>     my ( ..... ) = @_;
> 
>     ....
> }
> 
> De parameterlijst staat dus in feite in het my deel.

En een prototype is?

Nitro
Technical Details
Message-ID: <pan.2004.10.19.16.58.29.510135@skynet.be>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!syros.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
References: <pan.2004.10.18.21.35.06.746991@skynet.be> <Xns9586B5013139Fcastleamber@130.133.1.4> <pan.2004.10.19.05.45.06.770515@skynet.be> <Xns9587795DF811Dcastleamber@130.133.1.4>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,822492010c713d8f
X-Google-Attributes: gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!syros.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
From: Nitro <nitroglycerine@skynet.be>
Newsgroups: be.comp.programming
Subject: Re: Perl & threads
Date: Tue, 19 Oct 2004 18:58:31 +0200
Organization: KULeuvenNet
Lines: 27
Message-ID: <pan.2004.10.19.16.58.29.510135@skynet.be>
References: <pan.2004.10.18.21.35.06.746991@skynet.be> <Xns9586B5013139Fcastleamber@130.133.1.4> <pan.2004.10.19.05.45.06.770515@skynet.be> <Xns9587795DF811Dcastleamber@130.133.1.4>
NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: ikaria.belnet.be 1098205108 14143 134.58.127.12 (19 Oct 2004 16:58:28 GMT)
X-Complaints-To: abuse@belnet.be
NNTP-Posting-Date: Tue, 19 Oct 2004 16:58:28 +0000 (UTC)
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))
Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@bluebird.kotnet.org
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)