[Petal] Accessing coderefs

Bruno Postle bruno at mkdoc.com
Mon Mar 20 11:21:49 GMT 2006


Peter Rabbitson wrote:
> 
> Is it a bug or a feature that if I have:
> 
> $petal->process ( { coderef => \&useful_sub } );
> 
> I can not do
> 
> ...petal:content="coderef --var1 --var2"...

This would be ok as an object, what about it doesn't work?

-- 
Bruno


More information about the Petal mailing list