[Petal] Patch Idea

Corey corey_s at qwest.net
Wed Aug 16 22:10:55 BST 2006


On Wednesday 16 August 2006 13:34, Jonathan Vanasco wrote:
> sorry, but no.  it just has to do with the way perl treats hashes and  
> named arguments
<snip>
> but, it means that you save doing
> 	process( @$args ) in your class, instead of just process( $args ),  
> which is kind of confusing
>

Ok - I understand, that's definitely usefull in its own right.

 
> you still don't need to convert hashes into arrays for petal-- just  
> make an iterator class or something.  have petal print out a function  
> to the iterator that loops through an array and pulls out the index  
> you want. 
>   

Thanks, when I get a moment to experiment, I'll try this out.


Beers!

Corey


More information about the Petal mailing list