in reply to Re: Re: finding different linebreaks with <>
in thread finding different linebreaks with <>

Sorry, no regexen are allowed in $/.

The best solution is to convert the data file into a consistant form before the main program gets it.

----
: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Re: Re: finding different linebreaks with <>
by Cody Pendant (Prior) on Apr 09, 2004 at 00:55 UTC
    no regexen are allowed in $/.

    You missed a chance to quote perlvar:

    Remember: the value of $/ is a string, not a regex. awk has to be better for something. :-)


    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
    =~y~b-v~a-z~s; print
Re: Re: Re: Re: finding different linebreaks with <>
by seaver (Pilgrim) on Apr 08, 2004 at 20:38 UTC
    I understand, that I will do, thanks for your help
    Sam