in reply to special characters storage in perl
Instead of iterating over the indexes you can simply iterate over the array elements directly, for my $item (@records) { ... } and then use $item where you used to use $records[$index].
Also you should use strict; use warnings; and declare your variables.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: special characters storage in perl
by dreadpiratepeter (Priest) on Aug 05, 2009 at 13:29 UTC |