What is @$ variable in perl?
<p>Ex:</p>

<pre><code> foreach my $var (@$tp)  
      {  
        my $sql=$startsql1.$var.$endsql1;  
        print " SQL stamt \n $sql \n";  
        my $sel_stmt=$dbh-&gt;prepare($sql);  
        $sel_stmt-&gt;execute() or warn $DBI::errstr;  
        my @result = $sel_stmt-&gt;fetchrow_array();  
        $sel_stmt-&gt;finish();  
        $tphash{$result[0]} = [ @result ];          
     }  
</code></pre>

<ul>
<li>@tp is an array. It is not giving any output when i print $var.</li>
</ul>