Re: calculate the value in an array of array

2006-08-18 Thread Dalibor Straka
On Fri, Aug 18, 2006 at 06:29:36AM -0700, chen li wrote: > Dear all, > > I have an array of array look like this: > > @array_of_array=( > > [1,2,3,4,5], > [1,2,3,4,5], > [1,2,3,4,5], > [1,2,3,4,5] > ) > > How do I get the total values for each col

perl's deamon interface

2006-08-13 Thread Dalibor Straka
Hi, I'm writing a perl daemon with telnet interface. But here comes the crunch time. I need to use line breaks. Is there any better auto-detect way than manualy switching to $/ = $CRLF; in every telnet session? The truth is, that i(they) have a badly behaved php skript simulating a telnet ses