Folks,
It's about that time again...I have a question:
I'd like to pass 2 strings to create an existing array's name to another
array:
For example, I have:
@auth_admin = ('1', '2', '3', '4', '5');
@auth_user = ('1', '2', '3');
# The numbers correspond to:
%PERMMISIBLE_ARRAY = (
'1', 'database',
'2', 'table',
'3', etc);
Then:
$form_data{'access'} # is the logon information, admin, user, or more as
needed.
sub auth_functions {
## Something here to get values for:
@auth_function
## from joining "@auth_" and "$form_data{'access'}
## Then I can use
foreach $function ($auth_function) {
print qq~ <p> <the function permissible by the person who logged on>~;
}
Can it be done?
tia,
Luana
*******************************************************
Luana M. Howard mailto:[EMAIL PROTECTED]
ASCInet - Where Business and Internet Connect
*******************************************************
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------