Re: dynamic arrays

2003-02-28 Thread Edmund
Sudarshan Raghavan wrote: Yes, @data is just an array not an array of arrays. Does this do what you want? # CODE START # my @data; while () { my @info = split; push (@data, ["$info[0] $info[1]", @info[2..$#info]]); } # CODE END # I'll change my code to see. But it certainly looks compli

Re: dynamic arrays

2003-02-28 Thread Edmund
John W. Krahn wrote: Cc wrote: Hi, Hello, I'm a beginner at PERL. I've used it on and off, but only just recently got myself back into the picture. I figured that if you forget something in PERL, it'd be easy to take it up again. So far, I'm not too sure of the ease of taking up PERL again.

Re: dynamic arrays

2003-02-25 Thread John W. Krahn
Cc wrote: > > Hi, Hello, > I'm a beginner at PERL. I've used it on and off, but only > just recently got myself back into the picture. I figured > that if you forget something in PERL, it'd be easy to take > it up again. So far, I'm not too sure of the ease > of taking up PERL again. Before,

Re: dynamic arrays

2003-02-25 Thread Sudarshan Raghavan
On Tue, 25 Feb 2003, cc wrote: > Hi, > > I'm a beginner at PERL. I've used it on and off, but only > just recently got myself back into the picture. I figured > that if you forget something in PERL, it'd be easy to take > it up again. So far, I'm not too sure of the ease > of taking up PERL ag