and just to add, if you need scalar context make it simply:
@{[scalar func(@args)]} [download]
-- Hofmator
In reply to Re: Re: Embedding fuction output by Hofmator in thread Embedding fuction output by RatArsed