I now we can push (concatenate) data onto an array.

I would assume that we could concatenate data on to a string as well with something like:

$newstring = $oldstring . $newdata

Maybe this isn't correct though. I've not yet tried it.

My question is one method 'better' than the other? If so, why so?

Assuming there is no difference, then perhaps the determination of which to use is dependent entirely on what is to be done with the data later in the program.

Thanks,
Mike

--

 Multitasking:  Screwing up several things at once...
  01:45:01 up 15 days, 22:36,  0 users,  load average: 0.15, 0.24, 0.28

 Linux Registered User #241685  http://counter.li.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to