in reply to Re: What I am missing here
in thread What I am missing here
That`s some trick I am not quite good at... Yes the point is good but I want to pop an element from an array it can be written like @cards->$i but there is still a warning ( not an error which can be omitted for now ). I don`t pop a slice actually, I just pop last element from N row of the 2D array and that was my solution, for good or bad Doing it the way:
pop($cards[$i]...)
solves the warning but I am not sure why since I want to pop an array variable not a scalar one... Guess I need more Perls to eat :)
|
|---|