in reply to I don't understand why I'm getting an "Use of uninitialized value" error
Print out the contents of @search and you will see that the back-slashes have been removed by interpolation.
You also have an off-by-one error in the line:
for (my $i = 0; $i <= $search_count; $i++) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I don't understand why I'm getting an "Use of uninitialized value" error
by TheBigAmbulance (Acolyte) on Nov 03, 2011 at 18:36 UTC | |
by jwkrahn (Abbot) on Nov 03, 2011 at 18:44 UTC |