http://bugzilla.spamassassin.org/show_bug.cgi?id=3852





------- Additional Comments From [EMAIL PROTECTED]  2005-03-21 22:06 -------
Subject: Re:  better way to have user configs

On Mon, Mar 21, 2005 at 09:18:50PM -0800, [EMAIL PROTECTED] wrote:
> why does it make 0..1 undef?
> perl -e 'my @foo=qw(a b c d e); $foo[2] = undef; print join(",", @foo);'
> a,b,,d,e
> looks good to me!

Right, but the point is to have @sys be untouched, and then have any updates
go into a different area.  So:

@foo = qw(a b c d e);
$bar[2] = undef;

How cat I get (a,b,d,e) out of that?  $bar[0] and $bar[1] are undef as well
(as are $bar[4] and $bar[5] for that matter).  So we can't do a
if(defined($bar[###])) ...   We could create a vec and set 0..$# to 1 to
start, then set to 0 as appropriate.  Then put additions in a new array and
concat as necessary.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to