Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
5|8|2#3#4#5|5
Which I figured would yield 4 elements, containing:
5
8
2#3#4#5
5
Now I want to split the 3rd element ($array[2]) by #s, but when I do so I get:
Use of uninitialized value at path/parse.pl line 50.
It works when there's only 1 value in the 3rd element but any more gives me the above error. Any thoughts?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Double Splits?
by ryddler (Monk) on Dec 23, 2000 at 06:03 UTC | |
|
Re: Double Splits?
by ichimunki (Priest) on Dec 22, 2000 at 22:44 UTC | |
|
Re: Double Splits?
by jeroenes (Priest) on Dec 23, 2000 at 03:30 UTC | |
|
Re: Double Splits?
by Fastolfe (Vicar) on Dec 22, 2000 at 22:17 UTC | |
by Anonymous Monk on Dec 22, 2000 at 22:20 UTC | |
by Fastolfe (Vicar) on Dec 22, 2000 at 22:26 UTC | |
by Anonymous Monk on Dec 22, 2000 at 22:33 UTC |