Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!nsc!taux01!arielf From: arielf@taux01.nsc.com (Ariel Faigon) Newsgroups: comp.lang.perl Subject: Re: split() Summary: Slip of mind in my last posting Keywords: split list scalar Message-ID: <5779@taux01.nsc.com> Date: 23 Apr 91 06:20:20 GMT References: <5769@taux01.nsc.com> Reply-To: arielf@taux01.UUCP (Ariel Faigon) Organization: National Semiconductor (IC) Ltd, Israel Lines: 20 +--- In article <5769@taux01.nsc.com> I tried to help and wrote: | | To recap the list<->scalar conversion functions: | 'split' and 'unpack' expect a list and return a scalar | their counterparts: | 'join' and 'pack' expect a scalar and return a list +--- Which, of course, should be the other way round: 'split' and 'unpack' expect a scalar and return a list their counterparts: 'join' and 'pack' expect a list and return a scalar Thanks to Eric W. Ziegast (ziegast@eng.umd.edu) for pointing this out. --- -- Ariel Faigon, CTP group, NSTA National Semiconductor (Israel) 6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel Tel. (972)52-522312 arielf@taux01.nsc.com @{hplabs,pyramid,sun,decwrl} 34 48 E / 32 10 N