Hi all,

Can any one walk me thru this piece of code ::

while(<STDIN>)
{
        chomp ;
        $isbn =(split(/^_/, $_))[0] ;  --- not able to understand what is
being accessed (......)[0]
        unless ($KEYS{$isbn} )   ---- isbn is a scalar variable, how keys
wok on it ?
        {
                print "$_\n" ;
                $KEYS{$isbn} =1 ;
        }
}


Thanks,


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to