perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "indrek siitan" <...@mysql.com>
Subject RE: Passing an array to a web form in EmbPerl?
Date Wed, 14 Jun 2000 19:56:19 GMT
Hi,

> I want to call a EmbPerl script something like this:
> www.host.com/script?systems={field1,field2,field3}&otherparm=othervalue
> so that I can access the systems array in my embperl script.

you can do:
www.host.com/script?system=field1&system=field2&system=field3

in this case you'll get a tab-separated list into $fdat{system} which
you can easily spread into an array with split.


Rgds,
  Tfr

 --==< tfr@mysql.com >==< MySQL development team >==< Thibodaux, LA / USA >==--

Mime
View raw message