Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Wednesday December 15, 2004
01:35 PM

XML::DOM::BagOfTricks and manipulating Mbox folders

[ #22323 ]
Yesterday I released XML::DOM::BagOfTricks, it is a small library that I am using to generate and manipulate XML using XML::DOM.

Any suggestions for improvements or new features much appreciated.

I have also spent the afternoon looking for a way to handle an Mbox folder for our mailing list system at work. Email::Folder is really nice, but is read-only (although casey said adding a way to delete messages is at the top of his todo list)

Next I tried Mail::Folder as that appeared to have a method to delete messages, but that won't install on my machine, and is so ruled out.

Which leaves Mail::Box..

Installing Mail::Box I said 'yes, install everything you think you might need'.. so it is, and on and all of Mail::* later.. hopefully the tests will pass..

I guess I will Thanks but No Thanks, when I install that on the staging and production servers.

..BREAKING NEWS... BLUNKETT RESIGNS.. David Blunkett, the no longer Home Secretary has resigned after being warned that evidence had been found linking him to a fast-tracked visa for his married lovers nanny. This makes him a liar as well as an adulterer and authoritarian bully boy.. good riddance

Mail::Box seems to have passed all its 100's of tests and installed.. joy

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • just from reading the docs:

    • You left XML::Xerces:: in several places in the doc, I guess the Xerces part should be removed,
    • I am really confused about the getWhatever methods: do they get existing nodes or do they create new nodes? If they create new nodes, as I think they do, then why not call them createWhatever or (better I think) newWhatever?
    • they're called "Red Hot Chili Peppers"
    • if you want ideas of methods to add to the module, you can have a look at XML::DOM::Twig [xmltwig.com] an old attempt at extracting meth
    --
    mirod
    • >>You left XML::Xerces:: in several places in the doc<<

      oops, so I did. Sorry. Will fix that later today

      yes, the getFoo methods should perhaps be createFoo, or getNewFoo

      meh - chili, shmilli ;)

      XML::DOM::Twig is noted and will be assimilated.

      ta muchly

      --

      @JAPH = qw(Hacker Perl Another Just);
      print reverse @JAPH;
  • Part of the mailshot management system we are building (CDBI,mysql,TT natch) is catching bounces and unsubscribe messages and coping with temporary problems like busy server or inbox quota limits, etc.

    Luckily I think Mail::Box will allow me to manage an Mbox for each address quite nicely, once I get the drift of the Java style (lots of words, not much useful meaning.. no bloody examples!) documentation.

    Also Mail::DeliveryStatus::BounceParser [cpan.org] makes it easy to discover the message-id, addresses and type o

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;