Joshua Zeidner wrote:
>
> Jerry, I had the same idea, but are you sure that this operation will
> not allocate a new buffer and copy the entire string( essentially
> eliminating the benefit )?
Is there a pattern to the output? Is the next one always longer than
the last one? If so just add the difference onto the last one
my $variable = ".";
while (whatever)
{
$diff = "." x ($start - 1 - (length $variable));
$variable .= $diff;
}
- --
JT Morée
PC Xperience, Inc.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss