You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by "Boyd, David" <db...@nisys.com> on 2001/10/30 15:00:30 UTC

Working with

Posted by Peter Mayr <ma...@info.fh-eisenstadt.ac.at>.
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

here is the code that worked for me
Subjects is a <select multiple>

 [#do we have more than one subject?#]

 [$ if ($fdat{subjects}=~m/\t/) $]
 [#yes we do have multiple entries#]
 [#entries seperated by tab character#]
 [-
 #splitting multiple subjects
 $multiple=1;
 @subjects_array=split(/\t/,$fdat{'subjects'});

 $index=0;

- -]
 [$else$]
 [-
 $multiple=0;
 -]
[$endif$]

this follows the EMB:Perl documentation
at http://perl.apache.org/embperl/Embperl.pod.6.html#_fdat

have a nice day

peter

- -------------------------------------
PGP Public Key may be downloaded at:
http://www.infofreak.at/PeterMayr.asc
- -------------------------------------



-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBO96/IFQyF72FK9dGEQIzrwCgvX+9TheZqWobyN9zkwMmj/cCikgAoKdU
7izp7AKD1UHwaIALQFMKPn54
=9uxP
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org