Replied: Fri, 22 Dec 2000 13:22:17 +0000
Replied: webmake-talk@lists.sourceforge.net
Return-Path: jm@dogma.slashnull.org
Delivery-Date: Thu, 21 Dec 2000 18:46:44 +0000
Return-Path: <jm@dogma.slashnull.org>
Delivered-To: jm@netnoteinc.com
Received: from dogma.slashnull.org (dogma.slashnull.org [212.17.35.15])
	by mail (Postfix) with ESMTP id 135A6114342
	for <jm@netnoteinc.com>; Thu, 21 Dec 2000 18:46:34 +0000 (Eire)
Received: (from jm@localhost)
	by dogma.slashnull.org (8.9.3/8.9.3) id SAA16010
	for jm@netnoteinc.com; Thu, 21 Dec 2000 18:46:02 GMT
Received: from usw-sf-list1.sourceforge.net (usw-outbound.sourceforge.net [216.136.171.194])
	by dogma.slashnull.org (8.9.3/8.9.3) with ESMTP id SAA16005
	for <jm@jmason.org>; Thu, 21 Dec 2000 18:46:01 GMT
Received: from localhost ([127.0.0.1] helo=usw-sf-list1.sourceforge.net)
	by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian))
	id 149Aj4-0005fj-00; Thu, 21 Dec 2000 10:46:02 -0800
Received: from admin.csn.ul.ie ([136.201.105.1])
	by usw-sf-list1.sourceforge.net with esmtp (Exim 3.16 #1 (Debian))
	id 149Aia-0005f4-00
	for <webmake-talk@lists.sourceforge.net>; Thu, 21 Dec 2000 10:45:32 -0800
Received: from skynet.csn.ul.ie (skynet.csn.ul.ie [136.201.105.2])
	by admin.csn.ul.ie (Postfix) with ESMTP id 733A0205DE
	for <webmake-talk@lists.sourceforge.net>; Thu, 21 Dec 2000 18:51:22 +0000 (GMT)
Received: by skynet.csn.ul.ie (Postfix, from userid 1341)
	id 86E3E4E5CA; Thu, 21 Dec 2000 13:37:16 +0000 (GMT)
Received: from localhost (localhost [127.0.0.1])
	by skynet.csn.ul.ie (Postfix) with ESMTP id 7FD614E5C3
	for <webmake-talk@lists.sourceforge.net>; Thu, 21 Dec 2000 13:37:16 +0000 (GMT)
From: Mark McLoughlin <mark@skynet.ie>
X-Sender:  <mark@skynet.csn.ul.ie>
To: <webmake-talk@lists.sourceforge.net>
Subject: Re: [WM] Using print to output from <{perl }> blocks? 
In-Reply-To: <20001219165455.74110114087@mail>
Message-ID: <Pine.LNX.4.30.0012211329370.7395-200000@skynet.csn.ul.ie>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-913833367-1359000879-977405836=:7395"
Sender: webmake-talk-admin@lists.sourceforge.net
Errors-To: webmake-talk-admin@lists.sourceforge.net
X-BeenThere: webmake-talk@lists.sourceforge.net
X-Mailman-Version: 2.0
Precedence: bulk
Reply-To: webmake-talk@lists.sourceforge.net
List-Help: <mailto:webmake-talk-request@lists.sourceforge.net?subject=help>
List-Post: <mailto:webmake-talk@lists.sourceforge.net>
List-Subscribe: <http://lists.sourceforge.net/mailman/listinfo/webmake-talk>,
	<mailto:webmake-talk-request@lists.sourceforge.net?subject=subscribe>
List-Id: Discussion of WebMake. <webmake-talk.lists.sourceforge.net>
List-Unsubscribe: <http://lists.sourceforge.net/mailman/listinfo/webmake-talk>,
	<mailto:webmake-talk-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://lists.sourceforge.net/archives//webmake-talk/>
Date: Thu, 21 Dec 2000 13:37:16 +0000 (GMT)

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---913833367-1359000879-977405836=:7395
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

> What I'd prefer would be another block tag, like <{perl}> but indicating
> that the "print" output from the block should be added to the document
> instead of the return value.
>
> <{perlprint}>?  Urgh, sounds awful.  Please people, suggest a better name
> for it!

Attached is a better patch - only one pipe is opened and the <{perlprint}>
block thing is there as well. Yeah, 'perlprint' ugly - but I couldn't
think of anything better either ;)

I don't have time at the mo', but I profiled the last patch and, surprisingly,
it wasn't that much slower at all. If I get a chance I'll do it again with
this patch and post the results.

Good Luck,
Mark

---913833367-1359000879-977405836=:7395
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="UseStdoutForOutputAgainst_HTML-WebMake-0.8.update"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.30.0012211337160.7395@skynet.csn.ul.ie>
Content-Description: UseStdoutForOutputAgainst_HTML-WebMake-0.8.update
Content-Disposition: attachment; filename="UseStdoutForOutputAgainst_HTML-WebMake-0.8.update"

[encoded data, 4331 characters]
KSB7DQo=
---913833367-1359000879-977405836=:7395--

_______________________________________________
webmake-talk mailing list
webmake-talk@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/webmake-talk


