in reply to Re: Perl is returning... odd results... from regular expressions. Things matching when they shouldn't, and stuff like that.
in thread Perl is returning... odd results... from regular expressions. Things matching when they shouldn't, and stuff like that.

I thought I saw somewhere that m//,STRING worked... Guess not, my mistake ^^;

Thanks! That's part of the problem, at least. Very much appreciated!

  • Comment on Re^2: Perl is returning... odd results... from regular expressions. Things matching when they shouldn't, and stuff like that.

Replies are listed 'Best First'.
Re^3: Perl is returning... odd results... from regular expressions. Things matching when they shouldn't, and stuff like that.
by Anonymous Monk on Jan 11, 2007 at 08:15 UTC
    m// is the same as $_ =~ m//
      That one I knew, though now I'm fighting between sleep and finding what command it was that made me think that what I did would work...

      Ah well. Sleep is winning. Thanks for the speedy replies though, this site has thus far FAR exceeded my expectations!

        Maybe you were thinking of split /.../, ... or grep /.../, ...?