rimvydazas has asked for the wisdom of the Perl Monks concerning the following question:
However, when I use this string and split(/<CR><LF>/, $x), it works just fine, but doesnt when I listen for the same string coming from switch. So, I assume I need to use some other split pattern since <CR><FL> aren't recognized as carriage return and line feed coming from switch. Anyone has any suggestions? Thanks121107 1547 00316 43kahldsf02 801 2211 808<C +R><LF>15:47 12/11<CR><LF>15:47 12/11<CR><LF>121107 1547 00150 4a +df008 801 6808 <CR><LF>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: question about "split" function
by roboticus (Chancellor) on Dec 11, 2007 at 21:35 UTC | |
|
Re: question about "split" function
by kyle (Abbot) on Dec 11, 2007 at 21:46 UTC | |
by tye (Sage) on Dec 11, 2007 at 23:06 UTC | |
by kyle (Abbot) on Dec 12, 2007 at 07:32 UTC | |
by tye (Sage) on Dec 12, 2007 at 08:43 UTC | |
|
Re: question about "split" function
by moritz (Cardinal) on Dec 11, 2007 at 21:20 UTC | |
by roboticus (Chancellor) on Dec 11, 2007 at 21:39 UTC | |
by kyle (Abbot) on Dec 11, 2007 at 21:47 UTC | |
by roboticus (Chancellor) on Dec 11, 2007 at 21:53 UTC |