[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

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

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

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

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

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

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

Jonny
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.