🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bu.localpostings
Article #3255

Re: Array/hash of subroutines?( comp.lang.perl.misc)

#3255
From: Scott Lanning
Date: Wed, 24 Nov 1999 00:00
8 lines
713 bytes
X-Orig-MsgId: <kusyabn8ze9.fsf@strange.bu.edu>

digilady@NOhome.SPAMcom (Cat) writes:
> How on earth (or can I) then call it?

If you have a subroutine reference $s, then
$s->() would deference it with no parameters,
$s->($foo), with one parameter, etc...
Technical Details
Message-ID: <81he4h$sr6$1@news1.bu.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <383c2742.2696870@news>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1552e4,882a860f7f6d0df2,start
X-Google-Attributes: gid1552e4,public
From: Scott Lanning <slanning@bu.edu>
Subject: Re: Array/hash of subroutines?( comp.lang.perl.misc)
Date: 1999/11/24
Message-ID: <81he4h$sr6$1@news1.bu.edu>
X-Deja-AN: 552628030
References: <383c2742.2696870@news>
Organization: Boston University
X-Orig-Newsgrp: comp.lang.perl.misc
Newsgroups: bu.localpostings