Don't ask to ask, just ask | |
PerlMonks |
Can't / won't print pipe delimiter?by punch_card_don (Curate) |
on May 18, 2009 at 16:34 UTC ( [id://764667]=perlquestion: print w/replies, xml ) | Need Help?? |
punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:
Memographic Monks,
I have outputs If I change the print to it outputs If I change it to it outputs But it will not output as I want. Not even if I try
I know, pipe, perl control character....what's the trick to get it to print what I want? Thanks. UPDATE Aie - holiday Monday programming - ok, time to take my lumps - the code I provided was a short form for the real code which was where more scanning the code revealed this helpful little line in ...a bunch more stuff..., which of course was the wrong place for it. Should'a been after the lop and before the print. So, lessons #3,673,592 & #3,673,593: don't code half asleep on a holiday Monday; post real code or at least a sanitized version of it, not shortcuts. Let the flagellation begin.
Time flies like an arrow. Fruit flies like a banana.
Back to
Seekers of Perl Wisdom
|
|