On 31 Jan 2004, at 21:40, John W. Krahn wrote:
Jan Eden wrote:
Nilay Puri, Noida wrote:
Can any one walk me thru this piece of code ::
while()
{
chomp ;
$isbn =(split(/^_/, $_))[0] ; --- not able to understand what is
being accessed (..)[0]
That's the first element of the array returne
Jan Eden wrote:
>
> Nilay Puri, Noida wrote:
> >
> >Can any one walk me thru this piece of code ::
> >
> >while()
> >{
> > chomp ;
> > $isbn =(split(/^_/, $_))[0] ; --- not able to understand what is
> >being accessed (..)[0]
>
> That's the first element of the array returned by split
Nilay Puri wrote:
>
> Can any one walk me thru this piece of code ::
>
> while()
> {
> 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" ;
> $K
"Nilay Puri, Noida" <[EMAIL PROTECTED]> wrote:
>Can any one walk me thru this piece of code ::
>
>while()
>{
>chomp ;
>$isbn =(split(/^_/, $_))[0] ; --- not able to understand what is
>being accessed (..)[0]
>unless ($KEYS{$isbn} ) isbn is a scalar variable, how keys
>wok
Hi,
Nilay Puri, Noida wrote:
>Hi all,
>
>Can any one walk me thru this piece of code ::
>
>while()
>{
> chomp ;
> $isbn =(split(/^_/, $_))[0] ; --- not able to understand what is
>being accessed (..)[0]
That's the first element of the array returned by split (you can access array elem