Re: Patch Idea

"Corey" <corey_s-r9/[email protected]> Wed, 16 Aug 2006 14:10:55 -0700
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
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