Thomas Bellman wrote:
> James Turnbull wrote:
> 
>> +module Puppet::Parser::Functions
>> +  newfunction(:split, :type => :rvalue, 
>> +      :doc => "Split a string variable into an array using the specified 
>> split character.
> 
> I suggest that we make split() take a regular expression instead of a
> fixed string to split on.  That would make it more powerful.
> 
> I have an implementation of this ready, if you want.
> 

Can you post the code to the list please.

Thanks

James

-- 
Author of:
* Pro Linux Systems Administration
(http://www.amazon.com/gp/product/1430219122/)
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to