Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
How to go about using Email via Perl to append to a changelog.txt, html or .xls file? The situation, we have a team of 12 people and have been tasked with updating a logfile when we make changes. Right now, despite my clever co-worker who knows Perl better than I, he has us manually opening a spreadsheet. Not surprisingly, very few people do this, and the log is useless. I've seen blogs that allow update via email, so I thought it would be faster (and a demonstration of the wisdom of the Perl Monks ) if I could find a script that would take the input of an email, read it, and append it to this text file. The file might also be HTML, or anything else. The process needs to get the content of the email, and post a time at the start of the log. I've found 2 possible scripts but they were 2 years old, and I felt sure there must be an easier way... Thanks!

In reply to using Email to Perl to append to a changelog.txt, html, or .xls? by Sclous

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2021-06-23 09:14 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (117 votes). Check out past polls.