[Wellington-pm] Roundup of last night's meeting,
Florent Mara
florent.mara at nzregen.co.nz
Sun Aug 16 20:31:34 PDT 2015
I should have known better!!!
After one additional convincing conversation about the limitations of
XML::Simple, I had a look at how and where I was using it and decide to
'upgrade' two modules to use XML::LibXML. While it went smoothly for the
first module, it uncovered a minor defect in the second where it was
consistently missing an optional parameter.
Grant was right once again - not that I can recall Grant being wrong anyway.
If I may preempt the next call for topics, I would be delighted to hear
about PDL.
On Thu, Aug 13, 2015 at 10:34 AM, Peter Davenport <davenportnz at gmail.com>
wrote:
> 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
>>
>
> _______________________________________________
> Wellington-pm mailing list
> Wellington-pm at pm.org
> http://mail.pm.org/mailman/listinfo/wellington-pm
>
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/wellington-pm/attachments/20150817/598f084c/attachment.html>
More information about the Wellington-pm
mailing list