[Click] Multiple write handler arguments in Script element

Eddie Kohler kohler at cs.ucla.edu
Wed Aug 5 11:42:26 EDT 2009


I'd just add that most of our write handlers that take multiple arguments do 
so using spaces as separators, for precisely this reason.

Eddie


Cliff Frey wrote:
> Use
> 
> writeq elt.handler "arg1, arg2"
> 
> On Tuesday, July 28, 2009, Kurt Smolderen <kurt.smolderen at ua.ac.be> wrote:
>> Hello all,
>>
>> I'm using the Script element in one of my Click scripts in order to call a write handler automatically. However, this handler requires more than one argument. Normally, the arguments for the handler are passed as a comma-separated list. This comma however interferes with the commas used to separate the script instructions.
>>
>> Does anyone know how a write handler expecting multiple arguments can be called from the Script element?
>>
>> Thanks
>> Kurt
>>
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list