Re: Array Referrences

2007-01-13 Thread John W. Krahn
Jeff Pang wrote: >> If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'? >> Does this >> place the value of $aValue directly into @array or do I need to figure out >> another way to do that? >> > > You can't do 'push' like this way since $aryRef is a scalar but 'push' expec

Re: Array Referrences

2007-01-13 Thread Mathew Snyder
Jeff Pang wrote: >> If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'? >> Does this >> place the value of $aValue directly into @array or do I need to figure out >> another way to do that? >> > > You can't do 'push' like this way since $aryRef is a scalar but 'push' expec

Re: Array Referrences

2007-01-13 Thread Jeff Pang
>If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'? >Does this >place the value of $aValue directly into @array or do I need to figure out >another way to do that? > You can't do 'push' like this way since $aryRef is a scalar but 'push' expect a list as its first argume

Array Referrences

2007-01-13 Thread Mathew Snyder
Quick question about references to arrays that I need clarified? If I have 'my $aryRef = [EMAIL PROTECTED]' can do 'push $aryRef, $aValue'? Does this place the value of $aValue directly into @array or do I need to figure out another way to do that? I'm guessing this is exactly what array refere