[vienna.pm] Push (@array,@array2)

Michael Bauer mihi at gmx.at
Thu Jun 7 15:04:55 CDT 2001

* * * vienna-pm-list * * *

On 07-Jun-2001 Lukas Ertl wrote:
> RTFM perldoc -f push:
> =item push ARRAY,LIST
> Treats ARRAY as a stack, and pushes the values of LIST
> onto the end of ARRAY.  The length of ARRAY increases by the length of
> LIST.  Has the same effect as
>     for $value (LIST) {
>         $ARRAY[++$#ARRAY] = $value;
>     }
> but is more efficient.  Returns the new number of elements in the array.

hab mir grad ne mail mit derselben antwort geschickt *g*

Linux is like a tippy, no windows, no gates and an apache inside

PGP/GPG key @ http://unet.univie.ac.at/~a9900470/mihi.asc

You are subscribed to vienna-pm-list as Michael Bauer <mihi at gmx.at>

More information about the Vienna-pm mailing list