MiniVend Akopia Services

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

Re: realperl



Hi Folks...
	Okay, here is what I learned today... someone put this in a FAQ or
something!

	1. [realperl] is nifty, but has limitations according to both Safe and
Strict
	2. If you want to access files (ie. via open() command), use a
GlobalSub
	3. If you want to do if statements, in a faster pre-compiled code, use
[realperl], its your friend.
	4. Call realperl with arguments, [realperl
record=[item-code]]&mysub();[/realperl], its easier to manage in the
long run.


	Okay, an heres the major question for tomorrow, what do I need to
define in my checkout.html file to get CyberCash working? All I get is
ordered failed... anyone, anyone, anyone...

	thanks all! :-) 

	Jason.




"Mr. Anthony R.J. Ball" wrote:
> 
> ******    message to minivend-users from "Mr. Anthony R.J. Ball" <ant@maine.com>     ******
> 
>  Theoretically, yes. I don't think safe let's you use the open command, but
> global tags and subroutines in the minivend.cfg do not run under safe. Also,
> the return $@ if $@; (if I didn't miswrite it) should return the error message
> from your die statment. Though you could also just "or return $!". You could
> also write a global sub and call that from perl to solve your problem.
> 

-- 

Jason Korkin - jkorkin@korksoft.com
KORKSOFT

+1 (603) 472-8262
http://www.korksoft.com
Design, Hosting, Custom Programming, Database Mgt., E-Commerce


Search for: Match: Format: Sort by: