rjahrman has asked for the wisdom of the Perl Monks concerning the following question:

After running some regexes, I have junk like SCALAR(0x19cbeb4) in a string . . . I'm not sure if it was there before. What are those?
  • Comment on Getting Junk Like SCALAR(0x19cbeb4) in String

Replies are listed 'Best First'.
Re: Getting Junk Like SCALAR(0x19cbeb4) in String
by ambrus (Abbot) on Feb 29, 2004 at 19:57 UTC

    I can't say anything witout you giving some code.

    The most likely causes are however an unneccessary /e modifier or trying to match a whole vector at once like ["string1", "string2"]=~ m/(.*)/;

      It was the "e" modifier. Thanks!