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' expect > a list as its first argument. > Just replace it as: > > push @$aryRef,$aValue; > >
Ahhh...Thanks. Works like a charm. Mathew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/