[ic] what exactly does $Tag->uneval() do???

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Mon Sep 30 16:05:01 2002


Hi! I've looked all over the place, and I haven't been able to find out exactly=20=
what $Tag->uneval() does=2E I'm trying to use $Tag->query() (via [perl], of=20=
course), and in the documentation for the the [query] tag, $Tag->uneval() is=20=
called a la:

  [perl tables=3Dproducts]
    my $sql =3D "select sku, price, description from products
               where price < 10 order by price";

    my $results =3D $Tag->query( { sql =3D> $sql, } );
    my ( $same_results, $col_name_hashref, $col_name_arrayref)
        =3D $Tag->query( { sql =3D> $sql, } );

    my $hash_results =3D $Tag->query( {     sql =3D> $sql,
                                      hashref =3D> 'my_results' } );

    # $Vend::Interpolate::Tmp->{my_results} =3D=3D $hash_results
    # $Vend::Interpolate::Tmp->{''} =3D=3D $results =3D=3D $same_results

    return $Tag->uneval( $results );
  [/perl]

I can't find anywhere that explains what the uneval tag is for=2E I'm not a perl=20=
or interchange guru either, so I haven't been able to figure it out from the=20=
context=2E Any chance someone could shed some light on what exactly=20=
$Tag->uneval() does? Thanks a whole bunch!!!

Jonny