We don't bite newbies here... much | |
PerlMonks |
Re^2: how to rm an element from an array?by atcroft (Abbot) |
on Oct 28, 2002 at 03:12 UTC ( [id://208436]=note: print w/replies, xml ) | Need Help?? |
Why not a combination of the two solutions, something like: That way, you could call it with one or more kill patterns, such as &yoink(\@arr, $kp), or &yoink(\@arr, $kp1, $kp2, $kp3), or so forth... (At least, I think it would work....)
In Section
Seekers of Perl Wisdom
|
|