elam has asked for the wisdom of the Perl Monks concerning the following question:
Howdy monks, I must be missing something obvious:
sub change_punch_process { my @numbers; foreach ( $q->param ) { if (/^([0-9]+)/) { foreach (@numbers) { unless ($_ == $1) { push @numbers,$1; } } } } }
I hope this is clear enough.
I want to:Thank you,
Elam
Edited: ~Thu Nov 21 23:22:19 2002 (GMT) by footpad: Retitled (was "ponder this"), per Consideration
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pondering array population
by pg (Canon) on Nov 21, 2002 at 20:46 UTC | |
|
Re: pondering array population
by LTjake (Prior) on Nov 21, 2002 at 20:50 UTC | |
|
Re: pondering array population
by grantm (Parson) on Nov 21, 2002 at 20:50 UTC | |
|
Re: pondering array population
by DamnDirtyApe (Curate) on Nov 21, 2002 at 20:51 UTC | |
|
Re: pondering array population
by elam (Acolyte) on Nov 21, 2002 at 21:25 UTC | |
by chromatic (Archbishop) on Nov 22, 2002 at 01:21 UTC | |
|
Re: pondering array population
by joe++ (Friar) on Nov 21, 2002 at 20:52 UTC | |
|
Re: pondering array population
by insensate (Hermit) on Nov 21, 2002 at 20:52 UTC |