Re: foreach routine
Derek Parnell wrote:
>
> duke normandin wrote:
> >
> > Coming from Perl, I'm trying to emulate the following:
> >
> > read(STDIN, $buffer, $ENV{CONTENT_LENGTH});
> > @pairs = split(/&/, $buffer);
> > foreach $pair (@pairs){
> > ($name, $value) = split(/=/, $pair);
> > blah
> > blah
> > }
>
> These might help ...
> }}}
<eucode>
> -- split.e
[code snipped]
What can I say but *awesome* !! -- and -- thanks a bunch. I've got enough
code to study now so that I'll either "Get it!" or I should imigrate
"down-under" and chase "roos" for a living. ;) Later...
--
duke
|
Not Categorized, Please Help
|
|