RE: calling a sub name stored in a variable... SORRY....
- After an hour reading though programming perl...
I realised I had left the & of the start of the variable name..
I also had to add no strict 'refs';
to get it to work..
thanks and sorry for bothering you guys..
From: Frankie [mailto:frankieh@...]
Sent: Wednesday, 2 April 2003 3:34 AM
Subject: calling a sub name stored in a variable...
I have passed a subroutine containing sql statement to a session variable..
and I need to run that sub stored in the var name..
#sql query would be here..
my $csv_query = mysqlcode;
$query = $csv_query($session_user_client);
it doesn't even come close to working...
anyone know how I could go about doing this??
any help is much appreciated.