[Asterisk-Users] Re: Asterisk Question

Paul Hales pdhales at optusnet.com.au
Sun Mar 5 16:32:19 MST 2006


Find perl code attached:

while ($count <= $BACK)
{
 print STDERR "$count\n"; 
 @item = pop(@text);
 print STDERR "@item\n"; 
 $count++;
}

regards,

PaulH

On Sat, 2006-03-04 at 07:54 -0800, Michael Collins wrote:
> > I actually got it all working - but it's great to see where we did the
> > same
> > thing, and where we differ.
> > 
> > I ended up using the 'pop' perl command - inside a loop to go back one
> > item
> > at a time through my list....
> > 
> > PaulH
> 
> Nice work!  Perl = TMTOWTDI = There's More Than One Way To Do It
> -MC
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 




More information about the asterisk-users mailing list