![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Console output != file outputby mkk82 (Initiate) |
on Sep 01, 2013 at 17:29 UTC ( #1051833=perlquestion: print w/replies, xml ) | Need Help?? |
mkk82 has asked for the wisdom of the Perl Monks concerning the following question: Hi there! 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: start range As you can see, the first letter is missing and the final "end" string is not printed at all.
Console output: And keep in mind: When I write to a file, I get exactly what everbody would expect.
Back to
Seekers of Perl Wisdom
|
|