Re: foreach routine

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu