Loading ...
Sorry, an error occurred while loading the content.

calling a sub name stored in a variable...

Expand Messages
  • Frankie
    Hi guys.. I have passed a subroutine containing sql statement to a session variable.. and I need to run that sub stored in the var name.. for example: sub
    Message 1 of 4 , Apr 1, 2003
    • 0 Attachment
      Hi guys..

      I have passed a subroutine containing sql statement to a session variable..

      and I need to run that sub stored in the var name..

      for example:

      sub mysqlcode
      {
      #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.


      rgds

      Franki
    Your message has been successfully submitted and would be delivered to recipients shortly.