[Wellington-pm] Roundup of last night's meeting,
Peter Davenport
davenportnz at gmail.com
Wed Aug 12 15:34:24 PDT 2015
Hi Grant & Mongers,
It certainly was very helpful to have the 'reverse talk' of me asking
questions and the rest offering advice on XML issues. I had not ben
aware that Grant had a prior involvment with XML::Simple.
Notwithstanding The advice to avoid this, I went home and added a
'ForceArray' parameter with appropriate element names, and my short
script did what I needed it to do. When run over the data that I had, it
produced the 80,000+ records that I was wanting. It is only a 'one-off'
use, so I am unlikely to migrate this specific one to XML::LibXML, but
future excursions into other XML will follow that path. Thanks again for
all the productive advice.
Peter Davenport
On 12/08/2015 10:34 p.m., Grant McLean wrote:
> Hi Mongers
>
> Thanks to everyone who came along and contributed to the various debates
> and inquisitions last night - I thoroughly enjoyed the meeting.
>
> Notes for Peter:
>
> 1. Don't use XML::Simple
>
> 2. If you insist on ignoring '1', be sure to enable XML::Simple's
> "strict mode" as described here:
>
> http://www.perlmonks.org/index.pl?node_id=218480
>
> This would have alerted you to the need to define ForceArray.
>
> 3. Using XML::LibXML would give you fewer surprises. It is easily
> installed on Ubuntu/Debian with:
>
> apt-get install libxml-libxml-perl
>
> 4. The XML::LibXML documentation is not great, but this article should
> help you convert code from XML::Simple to XML::LibXML:
>
> http://www.perlmonks.org/index.pl?node_id=490846
>
> 5. You might also want to look at an XPath tutorial, e.g.:
>
> http://www.zvon.org/xxl/XPathTutorial/General/examples.html
>
>
> The slides from my Postgres history triggers talk are up on the web site
> (complete with bugs) here:
>
> http://wellington.pm.org/archive
>
> The final slide includes a link to resources.zip which includes all you
> need to set up the simple DB that I described, and try out the triggers.
>
>
> Thanks Richard for your interesting presentation (and also for
> requesting the other talk). I think you're going to have to come up
> with a name for your project and feel sure the group can come up with
> suggestions. Here's some to get the ball rolling:
>
> * credcheck
> * nbad (the "Nothing But Auth" daemon)
> * bbad (Bare Bones Authentication Daemon)
> * authify
> * ics (Isolated Credentials Store)
> * adwan (authentication daemon without a name)
>
>
> The next meeting will be on September the 8th - let me know if you'dlike
> to do a talk.
>
> Regards
> Grant
>
>
>
> _______________________________________________
> Wellington-pm mailing list
> Wellington-pm at pm.org
> http://mail.pm.org/mailman/listinfo/wellington-pm
More information about the Wellington-pm
mailing list