[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [perl] tag is a cruel joke, and user-defined tags don't do jack , squat. HELP! How do I use Perl!?
I'm afraid that that doesn't work. :/
No error messages. No output. No nothing.
Briefly, I was able to get the thing to print "Content-type:
text/html\n\n", but that's it...
On Wed, 23 Jun 1999, Mr. Anthony R.J. Ball wrote:
> ****** message to minivend-users from "Mr. Anthony R.J. Ball" <ant@maine.com> ******
>
> >
> > They say the best way to learn is by example. Could someone give
> > me an example-- or more than one example-- of a way to display the output
> > of:
> >
> > print "Hi there";
>
> UserTag realperl HasEndTag
> UserTag realperl CanNest
> UserTag realperl Interpolate
> UserTag realperl Routine <<EOF
> sub {
> my $str = eval {
> eval $_[0] or die;
> };
> }
> EOF
>
> put that in your minivend.cfg and chew on it.
> Anything between [realperl] [/realperl] will
> be executed outside of safe mode (STRICTS on)
> You might want to put some logging in to handle
> $@.
>
> Of course... nicer emails to the list would probably
> get you even more helpful responses, but hey.
>
> --
>
> 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/
> -
> 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
>