Return-Path: Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 23335 invoked by uid 500); 12 Apr 2003 03:06:31 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 23307 invoked from network); 12 Apr 2003 03:06:31 -0000 Received: from unknown (HELO secure.exclamationlabs.net) (66.77.29.176) by daedalus.apache.org with SMTP; 12 Apr 2003 03:06:31 -0000 Received: from modperlcookbook.org (pcp01384989pcs.walngs01.pa.comcast.net [68.80.50.114]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id h3C35JW26571; Fri, 11 Apr 2003 22:05:19 -0500 Message-ID: <3E97826E.6040704@modperlcookbook.org> Date: Fri, 11 Apr 2003 23:05:18 -0400 From: Geoffrey Young User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stas Bekman CC: dev@perl.apache.org, test-dev@httpd.apache.org Subject: Re: [patch] optional exports from Apache::TestUtil References: <3E96BF05.2000502@modperlcookbook.org> <3E975544.3030202@stason.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stas Bekman wrote: > Geoffrey Young wrote: > >> hi all... >> >> I don't see why Apache::TestUtil exports so many functions by default, >> yet it leaves out three that are just as helpful. > > > Because there are private functions (think of these as _foo). Do you > need them? sure. real life case - I want to write a test that uses a CGI script. write_perl_script() is the perfect function, since it can use it to determine the appropriate shebang line, whether my CGI script (and test) will be run on Unix or Win32. and I didn't get the impression these three were private functions - they're in the Apache::TestUtil manpage :) --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org