MiniVend Akopia Services

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

Re: realperl



On Thu, Jun 24, 1999 at 06:15:47PM +0000, Dmitriy Katsman wrote:
> Ok,
> 
> If there is no way to use PRINT "HEY",
> what else can't you do with [realperl]?
> 
> can you do PRINT FILE1 "hey"?
> or parse stdin and URL?xxxx...xxx..x input?
> 
> Thanks in advance,
> Dmitriy

  That tag lets you do anything you can do in a regular perl eval running
under stricts. you can print to a filehandle, but if you just to print it
goes to the void, because it's getting evalled 
in minivend, so instead minivend takes the return value of the tag and 
places it in the page output. So, instead of printing stuff just concat
it all into a string and return it at the end.

-- 

Anthony Ball                                                ant@maine.com
MaineStreet Communications, Inc        208 Portland Road, Gray, ME  04039
tel:1.207.657.5078         fax:1.207.657.5048       http://www.maine.com/


Search for: Match: Format: Sort by: