Hi List, I was reverse enginering some perl-cgi codes. I found the following expression.....can any one tell me what does this mean.
when do we use @$somevar is it for spliting...if then at what suituiation this works.... following the script my @results = &do_sql_2D($dbproc, $query); ==> quries a mysql database foreach my $result (@results) { my ($status_id, $status_descr) = @$result; ##############need to understand this line.... print "$status_id\n"; } many thanks in advance, gowtham -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>