As we don't see the data going in, this is going to be hard to debug.
Please add some code that outputs the parameters of the run, that is, output $ENV{HTTP_X_FORWARDED_FOR} and $ENV{REMOTE_ADDR}. Maybe it depends on the input data you get.
Also, while I am a fan of splice, the unshift keyword is a more clear function to use in that place.
In reply to Re: mod-perl2 re-using $ENV{REMOTE_ADDR}
by Corion
in thread mod-perl2 re-using $ENV{REMOTE_ADDR}
by bbs2web
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |