[oak perl] prepend operator?
David Fetter
david at fetter.org
Wed Feb 23 00:36:45 PST 2005
On Wed, Feb 23, 2005 at 06:05:39AM +0000, Sandy Santra wrote:
> I know ".=" is the append operator (for string concatenate)...
>
> Is there also a "prepend" operator?
I suppose you could make one, but it's usually easier just to use the
append, as in
$foo = $prepended . $next_thing;
There is, of course, More Than One Way To Do It. :)
Cheers,
D
--
David Fetter david at fetter.org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778
Remember to vote!
More information about the Oakland
mailing list