Re: perldoc use Mostly::Readable - Re: Text file manipulation

2002-05-12 Thread Randal L. Schwartz
> "Drieux" == Drieux <[EMAIL PROTECTED]> writes: Drieux> I just do NOT know right off the top of my head, when, Drieux> where or HOW I would use that type of a conditional in a split... @lines = split /\^M\^J|\^J|\^M/, $text_with_unknown_line_endings; -- Randal L. Schwartz - Stonehenge Co

Re: perldoc use Mostly::Readable - Re: Text file manipulation

2002-05-10 Thread drieux
On Friday, May 10, 2002, at 03:29 , Jeff 'japhy' Pinyan wrote: [..] > I'm not necessarily speaking to you -- I'm reminding anyone reading these > messages that at no point do single quotes stop a regex from being a > regex. > > [snip credentials] > >> I know what INTERPOLATION is, and the differ

Re: perldoc use Mostly::Readable - Re: Text file manipulation

2002-05-10 Thread Jeff 'japhy' Pinyan
On May 10, Jonathan E. Paton said: >> >and hence the magic of using single quotes doesn't work as you'd expect. >> >It does get you out of other trouble though: >> > >> >s'$%@|'replacement'; >> > >> >where you'd otherwise spend all day backslashing things. >> >> All single quotes do is stop INTE

Re: perldoc use Mostly::Readable - Re: Text file manipulation

2002-05-10 Thread Jonathan E. Paton
> >and hence the magic of using single quotes doesn't work as you'd expect. > >It does get you out of other trouble though: > > > >s'$%@|'replacement'; > > > >where you'd otherwise spend all day backslashing things. > > All single quotes do is stop INTERPOLATION. Interpolation is not the > issue

Re: perldoc use Mostly::Readable - Re: Text file manipulation

2002-05-10 Thread Jeff 'japhy' Pinyan
On May 10, Jonathan E. Paton said: >and hence the magic of using single quotes doesn't work as you'd expect. >It does get you out of other trouble though: > >s'$%@|'replacement'; > >where you'd otherwise spend all day backslashing things. All single quotes do is stop INTERPOLATION. Interpolatio

Re: perldoc use Mostly::Readable - Re: Text file manipulation

2002-05-10 Thread Jonathan E. Paton
> > Oh yeah makes perfect sense now...match nothing or nothing and sense > > everything has nothing it always matches. haha...I like that. > > > > Tanton > > I guess the two HORRORS I would like to stomp on are > > a) using "|" as a delimiter Everyone should be using the standard CSV nota