MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Perl Code Calling Defined Perl Subs...



******    message to minivend-users from August Detlefsen <augustd@idiom.com>     ******

You have to put 'sub' into the [perl] args.

    [perl arg="sub cgi values scratch" interpolate=1]

-August
--
August Detlefsen - Internet Consultant - Web Designer
 mailto:augustd@idiom.com

Jeff Carnahan wrote:
> 
> ******    message to minivend-users from "Jeff Carnahan" <tails@dakotacom.net>     ******
> 
> I have a section of perl code that looks something like the following:
> 
> [perl arg="cgi values scratch" interpolate=1]
> 
>   # Do some calculations....
> 
>   My_Routine(1,2,3);
> 
> [/perl]
> 
> Where My_Routine is defined in the catalog's catalog.cfg file via the Sub declaration. My problem is that it doesn't call the
> My_Routine function.  What is the proper way to use embedded perl code to call a Catalog subroutine?
> 
> Thanks..
> 
> --
> Jeff Carnahan
> tails@dakotacom.net
> 
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: