Re: Problem with scan fields using split

2001-07-25 Thread Michael Fowler
On Wed, Jul 25, 2001 at 11:43:34PM -, John Fox wrote: > Remember that you split on a regular expression, not a single character. As > such, you can split on the regex ' +', which stands for 'one or more > consecutive spaces', as opposed to ' ', which stands for 'one space'. When referring to

Re: Problem with scan fields using split

2001-07-25 Thread John Fox
Marvin, Remember that you split on a regular expression, not a single character. As such, you can split on the regex ' +', which stands for 'one or more consecutive spaces', as opposed to ' ', which stands for 'one space'. Here (I had to shorten your log entries to make my newsreader happy) is w

Re: Problem with scan fields using split

2001-07-24 Thread Abdulaziz Ghuloum
Hello, Please read the documentation that comes with perl about the use of split (perldoc -f split). Remember, split takes a regular expression as the first argument, not a substring. To learn more about regular expressions, perldoc perlre. Read about the usage of "*" and "+". Hope this helps

RE: Problem with scan fields using split

2001-07-24 Thread Bob Showalter
> -Original Message- > From: Marvin Bonilla [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 1:54 PM > To: [EMAIL PROTECTED] > Subject: Problem with scan fields using split > > > Hello > > Certainly I have already new in program with perl , so I need > help with a log scan