|Perl Monk, Perl Meditation|
Console output != file outputby mkk82 (Initiate)
|on Sep 01, 2013 at 17:29 UTC||Need Help??|
mkk82 has asked for the
wisdom of the Perl Monks concerning the following question:
I really Need help!
In a nutshell: The output here:print "start" . $type . "end"; is unequals the output here:
Some more details:
I receive an email via Mail::IMAPClient and store the message in one single scalar variable. Thereafter, use some RegEx to find several pieces of text.
The RegEx look like this:
This should give me:
start orange end
This works on a couple of text pieces I am after but on some the console output is screwed up and looks like this:
As you can see, the first letter is missing and the final "end" string is not printed at all.
And keep in mind: When I write to a file, I get exactly what everbody would expect.