go ahead... be a heretic | |
PerlMonks |
Printing an array in a Here Docby tmtech1 (Initiate) |
on Jun 27, 2006 at 19:50 UTC ( [id://557861]=perlquestion: print w/replies, xml ) | Need Help?? |
tmtech1 has asked for the wisdom of the Perl Monks concerning the following question:
I'm new to perl. I was given a script to modify that should append the output below (as a result of a cmd run) to an existing log file and also save it to a variable/array to then print out in an email. I'm not sure how to print each line (in the array) from within the *here* doc. Please advise. Thanks! OUTPUT: Multiutil: The MASTER_UPDATE_PACKET packet sent from BLFST_REPLICA at 2006-06-22 22:45:07 for 'MASTR' cannot be replayed: This replica has not replayed epoch 8757 from replica BLFST_REPLICA, it has only replayed through 8756. Multiutil: Packet E:\MultiSite_Packets\ClearQuest\var\shipping\ms_ship\incoming\sync_BLFST_REPLICA_22-June-06_23-45-07.xml not processed... CODE:
Back to
Seekers of Perl Wisdom
|
|