in reply to wrong value assigned
How about showing us a small sample of the data that fails? Use the following code as a template and show us the output you get and what you expected.
use strict; use warnings; my @bitter = ('x=y', 'z=p=q'); foreach (@bitter) { my ($first, $second) = split /=/; print ">$first< [$second]\n"; }
Prints:
>x< [y] >z< [p]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |