httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [patch] optional exports from Apache::TestUtil
Date Sat, 12 Apr 2003 03:11:06 GMT
Geoffrey Young wrote:
> 
> 
> 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 :)

Should we s/^/t_/ as the others?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message