Hum, I'm doing:

    some_list = object.fetch_some_list;

Then I'd like to do:

    some_list.push( object.fetch_other_list );

Basically, I guess;

$ perl -MTemplate -le 'Template->new->process( \"[% USE Dumper; x = [1,2,3]; y 
= [5,6]; x.push( y ); Dumper.dump(x) %]" ) || die $Template::error'
$VAR1 = [
          1,
          2,
          3,
          [
            5,
            6
          ]
        ];

But dereference the list.

-- 
Bill Moseley
[EMAIL PROTECTED]


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to