in reply to Split function
The | is backslashed so that | isn't termed as an or condition. That splits each string ($stuffing) and places it into an array @turkey.@turkey = split(/\|/, $stuffing);
@turkey = split(/\|+/, $stuffing);
Update for MeowChow: Well, you need to do some mixing and chopping, but I find the chop() function cuts too thin and the consistancy winds up too soft. I prefer some chunks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Split function
by MeowChow (Vicar) on Feb 08, 2001 at 05:29 UTC |