-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 11:00 AM -0700 5/11/01, Andy Lim wrote:
>Hello.
>I want to sort a hash which contaning key-value pair for a list checkbox
>(like below) so that it print in the specific order.
>Anyone know how to do this?
>------------------------------------
>[-
> @application_k = keys %GSIS::PROD_APPLICATION;
> @application_v = values %GSIS::PROD_APPLICATION;
>-]
>
><input type="checkbox" name="app_type" value="[+ $application_k[$row] +]">
>[+ $application_v[$row] +]
[- @application_k = sort keys %GSIS::PROD_APPLICATION; -]
<input type="checkbox" name="app_type" value="[+ $application_k[$row] +]">
[+ $GSIS::PROD_APPLICATION{$application_k[$row]} +]
- --
Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOvxBwyZsPfdw+r2CEQIgowCeNdNXFkPOkVST+zcgR+/gl9LeyQ8AoLkV
mMi+QDrWNdPa2rWAh525ILmB
=LnX8
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]