Anonymous - 2005-11-28

Hello there... For our purposes, we would like to be able to add comments when we send directives with save_directives. Anyone tried to add comments before any block used by it?

I will add tomorrow more details. in the meanwhile here is my chunk of code:

The form pushes a new variable called name="client"
and then it pushes to the directive... but it adds always AFTER the directive... but would be better to be BEFORe.... any hints?

if ($in{'client'}) {
$output = "# $in{'client'}";
@client = ( { 'name' => '# ',
            'values' => [ $in{'client'} ] } );
&save_directive ($par, '# ', \@client);