go ahead... be a heretic | |
PerlMonks |
RE: RE: Re: Unexpected Arrayby Fastolfe (Vicar) |
on Nov 13, 2000 at 23:35 UTC ( [id://41392]=note: print w/replies, xml ) | Need Help?? |
It would help if we could see the contents of a sample line. I suspect it looks like this:
with a bunch of spaces. You are splitting on / /, which is a single space, which means you are going to get a lot of empty elements in your resulting list. You probably want to change your split statement to split on /\s+/, which will catch all whitespace between elements.
In Section
Seekers of Perl Wisdom
|
|