|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've got a form that takes a number given to it by the user. How can I access that value in an array? Can you do the following?
use CGI; $number=param('number'); $number-- $value_from_array=$array[$number] |
|
#2
|
|||
|
|||
|
nevermind
Silly me. You can.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > access value in an array |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|