Perl optimisation help

William O'Higgins Witteman william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Fri Jun 9 01:06:00 UTC 2006


On Fri, Jun 09, 2006 at 12:47:14AM +0300, Peter wrote:
>
>On Thu, 8 Jun 2006, Lennart Sorensen wrote:
>
>>On Thu, Jun 08, 2006 at 11:07:45PM +0300, Peter wrote:
>>>I did it with a hash and it is 5 times faster. Still I would like to
>>>know what the fastest way to do $var=$var.$add; is.
>>
>>Perl don't have someting icky like $var .= $more; does it?
>
>Not that I know of it.

Yes, it does.  The ".=" works as you would expect.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20060608/347fc219/attachment.sig>


More information about the Legacy mailing list